1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-12 16:14:08 +02:00

Merge pull request #1430 from alexander-schranz/patch-1

Fix typehint for AbstractHandler level parameter
This commit is contained in:
Jordi Boggiano
2020-02-14 18:17:22 +01:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ abstract class AbstractHandler implements HandlerInterface, ResettableInterface
protected $processors = array(); protected $processors = array();
/** /**
* @param int $level The minimum logging level at which this handler will be triggered * @param int|string $level The minimum logging level at which this handler will be triggered
* @param bool $bubble Whether the messages that are handled can bubble up the stack or not * @param bool $bubble Whether the messages that are handled can bubble up the stack or not
*/ */
public function __construct($level = Logger::DEBUG, $bubble = true) public function __construct($level = Logger::DEBUG, $bubble = true)