Skip to content

Commit 4b3dcf1

Browse files
committed
Fixed "Warning: Attempt to read property "value" on string"
1 parent eccdbea commit 4b3dcf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ private function validateAndDenormalize(Type $type, string $currentClass, string
730730
$typeIdentifier = TypeIdentifier::OBJECT;
731731
$class = $t->getClassName();
732732
} else {
733-
$typeIdentifier = $t->getTypeIdentifier()->value;
733+
$typeIdentifier = $t->getTypeIdentifier();
734734
$class = null;
735735
}
736736
}

0 commit comments

Comments
 (0)