mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Replace phpstan suggestions
This commit is contained in:
@@ -222,7 +222,7 @@ trait ConvertsExchangeRates
|
||||
Log::debug(sprintf('Find rate for %s to Euro', $currency->code));
|
||||
$euro = TransactionCurrency::whereCode('EUR')->first();
|
||||
if (null === $euro) {
|
||||
Log::warning('Cannot do indirect conversion without EUR.');
|
||||
app('log')->warning('Cannot do indirect conversion without EUR.');
|
||||
return '0';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user