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