mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix method call.
This commit is contained in:
@@ -366,7 +366,7 @@ class Steam
|
|||||||
/** @var AccountRepositoryInterface $repository */
|
/** @var AccountRepositoryInterface $repository */
|
||||||
$repository = app(AccountRepositoryInterface::class);
|
$repository = app(AccountRepositoryInterface::class);
|
||||||
$currency = $repository->getAccountCurrency($account);
|
$currency = $repository->getAccountCurrency($account);
|
||||||
$currency = null === $currency ? \FireflyIII\Support\Facades\Amount::getDefaultCurrency() : $currency;
|
$currency = null === $currency ? app('amount')->getDefaultCurrencyByUserGroup($account->user->userGroup) : $currency;
|
||||||
if ($native->id === $currency->id) {
|
if ($native->id === $currency->id) {
|
||||||
return $this->balance($account, $date);
|
return $this->balance($account, $date);
|
||||||
}
|
}
|
||||||
|
@@ -146,11 +146,6 @@
|
|||||||
"includes": [
|
"includes": [
|
||||||
"extension.neon"
|
"extension.neon"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"phpstan/extension-installer": {
|
|
||||||
"ignore": [
|
|
||||||
"symplify/phpstan-rules"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user