Skip to content

Firefly III: a personal finances manager

Fix method call.

James Cole77bbe1e213dc
diff --git a/app/Support/Steam.php b/app/Support/Steam.php
index ac08f03146..8d2d36109d 100644
--- a/app/Support/Steam.php
+++ b/app/Support/Steam.php
@@ -366,7 +366,7 @@ class Steam
/** @var AccountRepositoryInterface $repository */
$repository = app(AccountRepositoryInterface::class);
$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) {
return $this->balance($account, $date);
}
diff --git a/composer.json b/composer.json
index 3e73174eae..361a2372a8 100644
--- a/composer.json
+++ b/composer.json
@@ -146,11 +146,6 @@
"includes": [
"extension.neon"
]
- },
- "phpstan/extension-installer": {
- "ignore": [
- "symplify/phpstan-rules"
- ]
}
},
"scripts": {