Upgrade array typehints with literal keys to keyed arrays #12532
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
3 errors
InvalidArgument:
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)
|
RedundantCast:
tests/TypeParseTest.php#L149
tests/TypeParseTest.php:149:63: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
|
build
Process completed with exit code 2.
|