Skip to content

Commit d20632c

Browse files
authored
Merge pull request #8 from andrew-demb/patch-1
Add more specific `@psalm-assert` condition
2 parents ea13e7e + afe39cb commit d20632c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/SymfonyMessageSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function normalize(object $message): array
161161
}
162162

163163
/**
164-
* @psalm-assert array{message:array<string, mixed>, namespace:class-string} $data
164+
* @psalm-assert array{message:array<string, string|int|float|array|null>, namespace:class-string} $data
165165
*
166166
* @throws \UnexpectedValueException
167167
*/

0 commit comments

Comments
 (0)