1
0
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:
Christophe Coevoet
2011-03-19 23:07:44 +01:00
parent fb503eebf2
commit 3a3c96d6d7
6 changed files with 56 additions and 14 deletions

View File

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