1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 15:14:14 +02:00

Simplify return

This commit is contained in:
Gabriel Caruso
2018-11-19 14:03:47 -02:00
parent 1c5b0b8ff4
commit 495b2c6049

View File

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