diff --git a/src/Entity/Aggregator.php b/src/Entity/Aggregator.php index bad866d3..d0f156d9 100644 --- a/src/Entity/Aggregator.php +++ b/src/Entity/Aggregator.php @@ -88,6 +88,6 @@ public static function getEntityClassFromObjectID($objectID) */ public function normalize(NormalizerInterface $normalizer, $format = null, array $context = []) { - return array_merge(['objectID' => $this->objectID], $normalizer->normalize($this->entity)); + return array_merge(['objectID' => $this->objectID], $normalizer->normalize($this->entity, $format, $context)); } }