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:
  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 7.0.9
  Update VERSION for 7.0.8
  Update CHANGELOG for 7.0.8
  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 29b9cb3 + 1ee25f5 commit 79a2049
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 @@ -1900,6 +1900,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 79a2049

Please sign in to comment.