Skip to content

Fix psalm

Fix psalm #43

Triggered via push February 12, 2024 14:22
Status Failure
Total duration 1m 30s
Artifacts

actions.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

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.