1
0
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:
George Mponos
2018-12-09 22:48:48 +02:00
parent 790ff7fd1d
commit 208381d43e
4 changed files with 10 additions and 1 deletions

View File

@@ -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');
}