Fix psalm #43
Annotations
5 errors
TypeDoesNotContainType:
src/Dictionary/Dictionary.php#L114
src/Dictionary/Dictionary.php:114:17: TypeDoesNotContainType: Type array-key for $key is never array<array-key, mixed> (see https://psalm.dev/056)
|
InvalidPropertyAssignmentValue:
src/Dictionary/Dictionary.php#L117
src/Dictionary/Dictionary.php:117:13: InvalidPropertyAssignmentValue: $dictionary->dictionary with declared type 'array<array-key, mixed>' cannot be assigned type 'non-empty-array<array-key|array<array-key, string>, mixed>' (see https://psalm.dev/145)
|
TypeDoesNotContainType:
src/Dictionary/Dictionary.php#L139
src/Dictionary/Dictionary.php:139:17: TypeDoesNotContainType: Type array-key for $key is never array<array-key, mixed> (see https://psalm.dev/056)
|
InvalidPropertyAssignmentValue:
src/Dictionary/Dictionary.php#L142
src/Dictionary/Dictionary.php:142:13: InvalidPropertyAssignmentValue: $this->dictionary with declared type 'array<array-key, mixed>' cannot be assigned type 'non-empty-array<array<array-key, string>|string, mixed>' (see https://psalm.dev/145)
|
analyze
Process completed with exit code 2.
|