فهرست منبع

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

Fix typehint for AbstractHandler level parameter
Jordi Boggiano 5 سال پیش
والد
کامیت
cc6d6c3a0d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/Monolog/Handler/AbstractHandler.php

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

@@ -33,8 +33,8 @@ abstract class AbstractHandler implements HandlerInterface, ResettableInterface
     protected $processors = array();
 
     /**
-     * @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)
     {