Skip to content

Commit f89047d

Browse files
committed
bug symfony#23226 [Validator] replace hardcoded service id (xabbuh)
This PR was merged into the 3.3 branch. Discussion ---------- [Validator] replace hardcoded service id | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#23224 | License | MIT | Doc PR | Commits ------- 44ff4b1 [Validator] replace hardcoded service id
2 parents 772ab3d + 44ff4b1 commit f89047d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/DependencyInjection/AddConstraintValidatorsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function process(ContainerBuilder $container)
4949
}
5050

5151
$container
52-
->getDefinition('validator.validator_factory')
52+
->getDefinition($this->validatorFactoryServiceId)
5353
->replaceArgument(0, ServiceLocatorTagPass::register($container, $validators))
5454
;
5555
}

0 commit comments

Comments
 (0)