mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 17:46:09 +02:00
added more docblock fixes
This commit is contained in:
@@ -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