mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 17:57:09 +00:00
Various code cleanup.
This commit is contained in:
@@ -49,7 +49,7 @@ class AccountTransformer extends AbstractTransformer
|
||||
* Transform the account.
|
||||
*
|
||||
* @throws FireflyException
|
||||
* */
|
||||
*/
|
||||
public function transform(Account $account): array
|
||||
{
|
||||
$this->repository->setUser($account->user);
|
||||
@@ -156,7 +156,7 @@ class AccountTransformer extends AbstractTransformer
|
||||
|
||||
/**
|
||||
* @throws FireflyException
|
||||
* */
|
||||
*/
|
||||
private function getCurrency(Account $account): array
|
||||
{
|
||||
$currency = $this->repository->getAccountCurrency($account);
|
||||
|
Reference in New Issue
Block a user