mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
run phpcs
This commit is contained in:
@@ -174,7 +174,7 @@ class AccountTransformer extends AbstractTransformer
|
||||
|
||||
private function getBalanceDifference(Collection $accounts, Carbon $start, Carbon $end): void
|
||||
{
|
||||
if (config('app.fallback_locale') === 'en_US') {
|
||||
if ('en_US' === config('app.fallback_locale')) {
|
||||
throw new FireflyException('Used deprecated method, rethink this.');
|
||||
}
|
||||
// collect balances, start and end for both native and converted.
|
||||
|
||||
@@ -115,7 +115,7 @@ class PiggyBankTransformer extends AbstractTransformer
|
||||
|
||||
// grab repetitions (for current amount):
|
||||
$repetitions = PiggyBankRepetition::whereIn('piggy_bank_id', $piggyBanks)->get();
|
||||
if (config('app.fallback_locale') === 'en_US') {
|
||||
if ('en_US' === config('app.fallback_locale')) {
|
||||
throw new FireflyException('[d] Piggy bank repetitions are EOL.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user