1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-01 19:00:20 +02:00

Verify handlers types, fixes #1131

This commit is contained in:
Jordi Boggiano
2018-06-11 17:22:12 +02:00
parent a6be840ff8
commit 120c434db9

View File

@@ -147,7 +147,7 @@ class Logger implements LoggerInterface
public function __construct($name, array $handlers = array(), array $processors = array())
{
$this->name = $name;
$this->handlers = $handlers;
$this->setHandlers($handlers);
$this->processors = $processors;
}