浏览代码

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

Martin Meredith 7 年之前
父节点
当前提交
a07a4c3741
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Monolog/Handler/AbstractHandler.php

+ 2 - 2
src/Monolog/Handler/AbstractHandler.php

@@ -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)
     {