Skip to content

Commit

Permalink
not registered definitions must not be modified
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jun 3, 2024
1 parent 22e469e commit c9b117c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,10 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
$container->setParameter('serializer.default_context', $defaultContext);
}

if (!$container->hasDefinition('serializer.normalizer.object')) {
return;
}

$arguments = $container->getDefinition('serializer.normalizer.object')->getArguments();
$context = [];

Expand Down

0 comments on commit c9b117c

Please sign in to comment.