1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Docblock fixes

This commit is contained in:
Jordi Boggiano
2015-12-18 17:48:21 +00:00
parent 205f528f5b
commit 3a41aa08c4
2 changed files with 4 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ abstract class AbstractHandler implements HandlerInterface
/** /**
* Sets minimum logging level at which this handler will be triggered. * Sets minimum logging level at which this handler will be triggered.
* *
* @param int $level * @param int|string $level Level or level name
* @return self * @return self
*/ */
public function setLevel($level) public function setLevel($level)

View File

@@ -31,7 +31,7 @@ class FilterHandler extends AbstractHandler
protected $handler; protected $handler;
/** /**
* Minimum level for logs that are passes to handler * Minimum level for logs that are passed to handler
* *
* @var int[] * @var int[]
*/ */
@@ -70,8 +70,8 @@ class FilterHandler extends AbstractHandler
} }
/** /**
* @param int|array $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided * @param int|string|array $minLevelOrList A list of levels to accept or a minimum level or level name if maxLevel is provided
* @param int $maxLevel Maximum level to accept, only used if $minLevelOrList is not an array * @param int|string $maxLevel Maximum level or level name 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)
{ {