mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove static references
This commit is contained in:
@@ -65,7 +65,7 @@ class Date implements BinderInterface
|
||||
];
|
||||
if (array_key_exists($value, $magicWords)) {
|
||||
$return = $magicWords[$value];
|
||||
Log::debug(sprintf('User requests "%s", so will return "%s"', $value, $return));
|
||||
app('log')->debug(sprintf('User requests "%s", so will return "%s"', $value, $return));
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
@@ -51,7 +51,7 @@ class TagList implements BinderInterface
|
||||
->get();
|
||||
}
|
||||
$list = array_unique(array_map('\strtolower', explode(',', $value)));
|
||||
Log::debug('List of tags is', $list);
|
||||
app('log')->debug('List of tags is', $list);
|
||||
|
||||
if (0 === count($list)) {
|
||||
app('log')->error('Tag list is empty.');
|
||||
|
Reference in New Issue
Block a user