Upgrade array typehints with literal keys to keyed arrays #12532
Annotations
3 errors
src/Psalm/Internal/Type/TypeParser.php#L730
src/Psalm/Internal/Type/TypeParser.php:730:21: InvalidArgument: Argument 1 of Psalm\Type\Union::setTypes expects non-empty-array<array-key, Psalm\Type\Atomic>, but list{Psalm\Type\Atomic|Psalm\Type\Union, ...<Psalm\Type\Atomic>} provided (see https://psalm.dev/004)
|
tests/TypeParseTest.php#L149
tests/TypeParseTest.php:149:63: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
|
|
The logs for this run have expired and are no longer available.
Loading