Skip to content

Commit c5425e2

Browse files
committed
Transformer should still be called if the same class is returned
1 parent 658f925 commit c5425e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/JsonLd/Serializer/ItemNormalizer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public function normalize($object, $format = null, array $context = [])
6767
{
6868
$objectClass = $this->getObjectClass($object);
6969
$outputClass = $this->getOutputClass($objectClass, $context);
70-
7170
if (null !== $outputClass && !isset($context[self::IS_TRANSFORMED_TO_SAME_CLASS_CONTEXT_KEY])) {
7271
return parent::normalize($object, $format, $context);
7372
}

0 commit comments

Comments
 (0)