Skip to content

Commit d5cb3e9

Browse files
committed
fix(elasticsearch): change normalize return type to compatible with other normalizers
1 parent c01e10f commit d5cb3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Serializer/ItemNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form
8888
/**
8989
* {@inheritdoc}
9090
*/
91-
public function normalize(mixed $object, ?string $format = null, array $context = []): array
91+
public function normalize(mixed $object, ?string $format = null, array $context = []): mixed
9292
{
9393
return $this->decorated->normalize($object, $format, $context);
9494
}

0 commit comments

Comments
 (0)