Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed setting of validator annotation namespace alias

  • Loading branch information...
commit f8f89ae9808fc501046d560a4e4c67d56e338006 1 parent 1db5a22
@kriswallsmith kriswallsmith authored
View
2  DependencyInjection/Compiler/AddValidatorNamespaceAliasPass.php
@@ -14,7 +14,7 @@ public function process(ContainerBuilder $container)
}
$loader = $container->getDefinition('validator.mapping.loader.annotation_loader');
- $args = $loader->getArguments();
+ $args = $container->getParameterBag()->resolveValue($loader->getArguments());
$args[0]['assertMongoDB'] = 'Symfony\\Bundle\\DoctrineMongoDBBundle\\Validator\\Constraints\\';
$loader->replaceArgument(0, $args[0]);
Please sign in to comment.
Something went wrong with that request. Please try again.