Add docs #8
Annotations
10 warnings
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L219
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
default => match ($class = $this->context->resolveClassName($name)) {
\Traversable::class, \Iterator::class, \IteratorAggregate::class => match ($number = \count($typeArguments)) {
1 => types::object($class, [types::mixed, $typeArguments[0]]),
- 0, 2 => types::object($class, $typeArguments),
+ 0 => types::object($class, $typeArguments),
default => throw new InvalidPhpDocType(\sprintf('%s type should have at most 2 type arguments, got %d', $class, $number)),
},
\Generator::class => match ($number = \count($typeArguments)) {
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L221
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
default => match ($class = $this->context->resolveClassName($name)) {
\Traversable::class, \Iterator::class, \IteratorAggregate::class => match ($number = \count($typeArguments)) {
1 => types::object($class, [types::mixed, $typeArguments[0]]),
- 0, 2 => types::object($class, $typeArguments),
+ 0, 1 => types::object($class, $typeArguments),
default => throw new InvalidPhpDocType(\sprintf('%s type should have at most 2 type arguments, got %d', $class, $number)),
},
\Generator::class => match ($number = \count($typeArguments)) {
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L224
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 3, 4 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L224
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 2, 4 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L224
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 2, 3 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 1, 3, 4 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 3, 3, 4 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 2, 2, 4 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 2, 4, 4 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|
infection:
src/Internal/PhpDoc/PhpDocTypeReflector.php#L226
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
},
\Generator::class => match ($number = \count($typeArguments)) {
1 => types::Generator(value: $typeArguments[0]),
- 0, 2, 3, 4 => types::Generator(...$typeArguments),
+ 0, 2, 3, 3 => types::Generator(...$typeArguments),
default => throw new InvalidPhpDocType(\sprintf('Generator type should have at most 4 type arguments, got %d', $number)),
},
default => $this->context->resolveNameAsType($name, $typeArguments),
|