Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  not registered definitions must not be modified
  fix low deps
  [String] Fix Inflector for 'hardware'
  [Mime] Use streams instead of loading raw message generator into memory
  Bump Symfony version to 6.4.9
  Update VERSION for 6.4.8
  Update CHANGELOG for 6.4.8
  Bump Symfony version to 5.4.41
  Update VERSION for 5.4.40
  Update CONTRIBUTORS for 5.4.40
  Update CHANGELOG for 5.4.40
  • Loading branch information
fabpot committed Jun 4, 2024
2 parents f79d0ee + bf2a45f commit 1ee25f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DependencyInjection/FrameworkExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -1912,6 +1912,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 1ee25f5

Please sign in to comment.