Skip to content

Commit 05c4671

Browse files
authored
Update UserNormalizer.php
1 parent e11b795 commit 05c4671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/Serializer/UserNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function normalize($object, $format = null, array $context = [])
2828

2929
public function supportsNormalization($data, $format = null): bool
3030
{
31-
return 'document' === $format && $data instanceof User;
31+
return $data instanceof User;
3232
}
3333

3434
public function hasCacheableSupportsMethod(): bool

0 commit comments

Comments
 (0)