mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Remove static references
This commit is contained in:
@@ -146,7 +146,7 @@ class BulkController extends Controller
|
||||
if (true === $ignoreUpdate) {
|
||||
return false;
|
||||
}
|
||||
Log::debug(sprintf('Set budget to %d', $budgetId));
|
||||
app('log')->debug(sprintf('Set budget to %d', $budgetId));
|
||||
$this->repository->updateBudget($journal, $budgetId);
|
||||
|
||||
return true;
|
||||
@@ -162,7 +162,7 @@ class BulkController extends Controller
|
||||
private function updateJournalTags(TransactionJournal $journal, string $action, array $tags): bool
|
||||
{
|
||||
if ('do_replace' === $action) {
|
||||
Log::debug(sprintf('Set tags to %s', implode(',', $tags)));
|
||||
app('log')->debug(sprintf('Set tags to %s', implode(',', $tags)));
|
||||
$this->repository->updateTags($journal, $tags);
|
||||
}
|
||||
if ('do_append' === $action) {
|
||||
@@ -186,7 +186,7 @@ class BulkController extends Controller
|
||||
if (true === $ignoreUpdate) {
|
||||
return false;
|
||||
}
|
||||
Log::debug(sprintf('Set budget to %s', $category));
|
||||
app('log')->debug(sprintf('Set budget to %s', $category));
|
||||
$this->repository->updateCategory($journal, $category);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user