Basic code standard fixes.

This commit is contained in:
James Cole
2020-07-31 09:24:08 +02:00
parent 886e9459a5
commit 9234636422
38 changed files with 40 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ class CurrencyController extends Controller
/** @var UserRepositoryInterface The user repository */
private $userRepository;
/**
* CurrencyRepository constructor.
*
@@ -578,7 +579,7 @@ class CurrencyController extends Controller
$manager = $this->getManager();
$currency = app('amount')->getDefaultCurrencyByUser(auth()->user());
$this->parameters->set('defaultCurrency', $currency);
/** @var CurrencyTransformer $transformer */
$transformer = app(CurrencyTransformer::class);
$transformer->setParameters($this->parameters);