1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 07:34:12 +02:00

Merge pull request #1230 from carusogabriel/returns

Simplify return
This commit is contained in:
Jordi Boggiano
2018-11-20 00:15:53 +01:00
committed by GitHub

View File

@@ -49,10 +49,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;
} }
} }