Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
algolia#286: Carry over normalization context on aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
kiler129 committed Feb 13, 2019
1 parent 53569ed commit be26d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Aggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit be26d6b

Please sign in to comment.