Skip to content

Commit

Permalink
pending change
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire committed Jan 15, 2025
1 parent fd53960 commit 13944b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Normalizer/ObjectNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 13944b4

Please sign in to comment.