mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 16:46:11 +02:00
Code cleanups
This commit is contained in:
@@ -48,7 +48,7 @@ class NullHandler extends Handler
|
||||
*/
|
||||
public function isHandling(LogRecord $record): bool
|
||||
{
|
||||
return $record['level'] >= $this->level;
|
||||
return $record->level >= $this->level;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,6 +56,6 @@ class NullHandler extends Handler
|
||||
*/
|
||||
public function handle(LogRecord $record): bool
|
||||
{
|
||||
return $record['level'] >= $this->level;
|
||||
return $record->level >= $this->level;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user