mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Simplify return
This commit is contained in:
@@ -46,10 +46,6 @@ class NullHandler extends Handler
|
|||||||
*/
|
*/
|
||||||
public function handle(array $record): bool
|
public function handle(array $record): bool
|
||||||
{
|
{
|
||||||
if ($record['level'] < $this->level) {
|
return $record['level'] >= $this->level;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user