mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-19 23:56:17 +02:00
added more docblock fixes
This commit is contained in:
@@ -24,6 +24,9 @@ class GitProcessor implements ProcessorInterface
|
||||
private $level;
|
||||
private static $cache;
|
||||
|
||||
/**
|
||||
* @param string|int $level The minimum logging level at which this Processor will be triggered
|
||||
*/
|
||||
public function __construct($level = Logger::DEBUG)
|
||||
{
|
||||
$this->level = Logger::toMonologLevel($level);
|
||||
|
@@ -37,6 +37,9 @@ class IntrospectionProcessor implements ProcessorInterface
|
||||
'call_user_func_array',
|
||||
];
|
||||
|
||||
/**
|
||||
* @param string|int $level The minimum logging level at which this Processor will be triggered
|
||||
*/
|
||||
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = [], int $skipStackFramesCount = 0)
|
||||
{
|
||||
$this->level = Logger::toMonologLevel($level);
|
||||
|
@@ -23,6 +23,9 @@ class MercurialProcessor implements ProcessorInterface
|
||||
private $level;
|
||||
private static $cache;
|
||||
|
||||
/**
|
||||
* @param string|int $level The minimum logging level at which this Processor will be triggered
|
||||
*/
|
||||
public function __construct($level = Logger::DEBUG)
|
||||
{
|
||||
$this->level = Logger::toMonologLevel($level);
|
||||
|
@@ -24,7 +24,7 @@ class UidProcessor implements ProcessorInterface, ResettableInterface
|
||||
|
||||
public function __construct(int $length = 7)
|
||||
{
|
||||
if (!is_int($length) || $length > 32 || $length < 1) {
|
||||
if ($length > 32 || $length < 1) {
|
||||
throw new \InvalidArgumentException('The uid length must be an integer between 1 and 32');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user