Jelajahi Sumber

Merge pull request #339 from hver/master

Fixed parameter description
Jordi Boggiano 11 tahun lalu
induk
melakukan
98b2d0ba0a
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/Monolog/Handler/FilterHandler.php

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

@@ -38,7 +38,7 @@ class FilterHandler extends AbstractHandler
     /**
     /**
      * @param callable|HandlerInterface $handler        Handler or factory callable($record, $this).
      * @param callable|HandlerInterface $handler        Handler or factory callable($record, $this).
      * @param int|array                 $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
      * @param int|array                 $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
-     * @param int                       $maxLevel       Maximum level to accept, only used if $minLevelOrList is an array
+     * @param int                       $maxLevel       Maximum level to accept, only used if $minLevelOrList is not an array
      * @param Boolean                   $bubble         Whether the messages that are handled can bubble up the stack or not
      * @param Boolean                   $bubble         Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY, $bubble = true)
     public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY, $bubble = true)
@@ -58,7 +58,7 @@ class FilterHandler extends AbstractHandler
 
 
     /**
     /**
      * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
      * @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
-     * @param int       $maxLevel       Maximum level to accept, only used if $minLevelOrList is an array
+     * @param int       $maxLevel       Maximum level to accept, only used if $minLevelOrList is not an array
      */
      */
     public function setAcceptedLevels($minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY)
     public function setAcceptedLevels($minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY)
     {
     {