Remove static references

This commit is contained in:
James Cole
2023-10-29 06:33:43 +01:00
parent 075d459b7c
commit 4f2159b54d
205 changed files with 1287 additions and 1287 deletions

View File

@@ -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;
}

View File

@@ -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.');