mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix various phpstan issues.
This commit is contained in:
@@ -43,7 +43,7 @@ class RepairsAccountBalances extends Command
|
||||
|
||||
return 0;
|
||||
}
|
||||
if (config('firefly.feature_flags.running_balance_column')) {
|
||||
if (true === config('firefly.feature_flags.running_balance_column')) {
|
||||
$this->friendlyInfo('Will recalculate account balances. This may take a LONG time. Please be patient.');
|
||||
$this->markAsExecuted();
|
||||
$this->correctBalanceAmounts();
|
||||
|
@@ -95,7 +95,7 @@ class UpgradesCurrencyPreferences extends Command
|
||||
|
||||
/** @var TransactionCurrency $currency */
|
||||
foreach ($currencies as $currency) {
|
||||
if ($currency->enabled) {
|
||||
if (true === $currency->enabled) {
|
||||
$enabled->push($currency);
|
||||
}
|
||||
}
|
||||
@@ -109,7 +109,7 @@ class UpgradesCurrencyPreferences extends Command
|
||||
|
||||
/** @var TransactionCurrency $currency */
|
||||
foreach ($currencies as $currency) {
|
||||
if ($currency->enabled) {
|
||||
if (true === $currency->enabled) {
|
||||
$enabled->push($currency);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user