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

Update Docblock to specify allowing string Log Levels (#1068)

This commit is contained in:
Martin Meredith
2018-06-17 16:43:18 +01:00
committed by Jordi Boggiano
parent 010cbd650d
commit a07a4c3741

View File

@@ -24,8 +24,8 @@ abstract class AbstractHandler extends Handler
protected $bubble = true;
/**
* @param int $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 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
*/
public function __construct($level = Logger::DEBUG, $bubble = true)
{