@@ -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',
];
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = [], int $skipStackFramesCount = 0)
@@ -23,6 +23,9 @@ class MercurialProcessor implements ProcessorInterface
@@ -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');
}