mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 09:06:10 +02:00
Added some methods in the HandlerInterface and some typehints
This commit is contained in:
@@ -85,7 +85,7 @@ class TestHandler extends AbstractHandler
|
||||
return false;
|
||||
}
|
||||
|
||||
public function write($record)
|
||||
public function write(array $record)
|
||||
{
|
||||
$this->recordsByLevel[$record['level']][] = $record;
|
||||
$this->records[] = $record;
|
||||
|
Reference in New Issue
Block a user