Remove static references

This commit is contained in:
James Cole
2023-10-29 06:31:13 +01:00
parent 59d96f2893
commit 91b7d20f9b
15 changed files with 39 additions and 39 deletions

View File

@@ -433,7 +433,7 @@ class CreditRecalculateService
return $result;
}
Log::warning(sprintf('[-1] Catch-all, should not happen. Left of debt = %s', app('steam')->bcround($leftOfDebt, $decimals)));
app('log')->warning(sprintf('[-1] Catch-all, should not happen. Left of debt = %s', app('steam')->bcround($leftOfDebt, $decimals)));
return $leftOfDebt;
}

View File

@@ -224,7 +224,7 @@ class RecurrenceUpdateService
Log::debug(sprintf('Original count is %d', $originalCount));
if (0 === count($transactions)) {
// won't drop transactions, rather avoid.
Log::warning('No transactions to update, too scared to continue!');
app('log')->warning('No transactions to update, too scared to continue!');
return;
}
$combinations = [];