Skip to content

Commit

Permalink
Merge branch '7.0' into 7.1
Browse files Browse the repository at this point in the history
* 7.0:
  Update serializer.rst
  • Loading branch information
javiereguiluz committed Jun 21, 2024
2 parents 9ea91c6 + 1812b89 commit ab6a442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,7 @@ context option::
}
}

$normalizer = new ObjectNormalizer($classMetadataFactory);
$normalizer = new ObjectNormalizer();
$serializer = new Serializer([$normalizer]);

$data = $serializer->denormalize(
Expand Down

0 comments on commit ab6a442

Please sign in to comment.