Skip to content

Commit 3ba1240

Browse files
authored
Merge pull request #6 from mops1k/1.0.5
v1.0.5
2 parents 718cf77 + 4e14355 commit 3ba1240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serializer/CollectionDenormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ public function denormalize(mixed $data, string $type, string $format = null, ar
6060

6161
public function supportsDenormalization(mixed $data, string $type, string $format = null): bool
6262
{
63-
return array_is_list($data) && is_a($type, CollectionResponseInterface::class, true);
63+
return is_array($data) && array_is_list($data) && is_a($type, CollectionResponseInterface::class, true);
6464
}
6565
}

0 commit comments

Comments
 (0)