From 13944b47630209a3975c801afa76a46f27a31512 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 15 Jan 2025 22:02:54 +0530 Subject: [PATCH] pending change --- src/Normalizer/ObjectNormalizer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Normalizer/ObjectNormalizer.php b/src/Normalizer/ObjectNormalizer.php index 18aa1dec..fa729d51 100644 --- a/src/Normalizer/ObjectNormalizer.php +++ b/src/Normalizer/ObjectNormalizer.php @@ -129,10 +129,10 @@ public function setSerializer(SerializerInterface $serializer): void /** * {@inheritDoc} */ - public function convertToArrayObject($normalized, $array_as_props = ArrayObject::ARRAY_AS_PROPS) + public function convertToArrayObject($normalized, $array_as_props = \ArrayObject::ARRAY_AS_PROPS) { // default set ARRAY_AS_PROPS flag as we need entries to be accessed as properties. - return new ArrayObject($normalized, $array_as_props); + return new \ArrayObject($normalized, $array_as_props); } /**