Skip to content

Commit a479583

Browse files
minor symfony#23765 [FrameworkBundle] Fix comment (Lctrs)
This PR was merged into the 3.3 branch. Discussion ---------- [FrameworkBundle] Fix comment | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | | License | MIT | Doc PR | Actually, DataUriNormalizer runs before the serializer.normalizer.object since it has a higher priority (-920 vs -1000). Commits ------- 103b23e Fix comment
2 parents 52cf765 + 103b23e commit a479583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ private function registerSecurityCsrfConfiguration(array $config, ContainerBuild
12731273
private function registerSerializerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
12741274
{
12751275
if (class_exists('Symfony\Component\Serializer\Normalizer\DataUriNormalizer')) {
1276-
// Run after serializer.normalizer.object
1276+
// Run before serializer.normalizer.object
12771277
$definition = $container->register('serializer.normalizer.data_uri', DataUriNormalizer::class);
12781278
$definition->setPublic(false);
12791279
$definition->addTag('serializer.normalizer', array('priority' => -920));

0 commit comments

Comments
 (0)