mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Code cleanup
This commit is contained in:
@@ -64,8 +64,8 @@ class CommandHandler extends AbstractProcessingHandler
|
||||
{
|
||||
$level = strtoupper($level);
|
||||
$reference = sprintf('\Monolog\Logger::%s', $level);
|
||||
if (defined($reference)) {
|
||||
$this->setLevel(constant($reference));
|
||||
if (\defined($reference)) {
|
||||
$this->setLevel(\constant($reference));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user