We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 718cf77 + 4e14355 commit 3ba1240Copy full SHA for 3ba1240
src/Serializer/CollectionDenormalizer.php
@@ -60,6 +60,6 @@ public function denormalize(mixed $data, string $type, string $format = null, ar
60
61
public function supportsDenormalization(mixed $data, string $type, string $format = null): bool
62
{
63
- return array_is_list($data) && is_a($type, CollectionResponseInterface::class, true);
+ return is_array($data) && array_is_list($data) && is_a($type, CollectionResponseInterface::class, true);
64
}
65
0 commit comments