1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-02 11:20:31 +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()) public function __construct($name, array $handlers = array(), array $processors = array())
{ {
$this->name = $name; $this->name = $name;
$this->handlers = $handlers; $this->setHandlers($handlers);
$this->processors = $processors; $this->processors = $processors;
} }