Explorar o código

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

Martin Meredith %!s(int64=7) %!d(string=hai) anos
pai
achega
a07a4c3741
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)
     {