Skip to content

Commit

Permalink
isHalCircularReference
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Dassonville committed Oct 25, 2024
1 parent e4ead18 commit 4208096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hal/Serializer/ItemNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ public function getSupportedTypes($format): array
*/
public function normalize(mixed $object, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
{
if ($this->isHalCircularReference($object, $context)) {
/*if ($this->isHalCircularReference($object, $context)) {
return $this->handleHalCircularReference($object, $format, $context);
}
}*/

$resourceClass = $this->getObjectClass($object);
if ($this->getOutputClass($context)) {
Expand Down

0 comments on commit 4208096

Please sign in to comment.