mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #375 from merk/2.5-fix
Fix ValidatorParser in symfony 2.5
This commit is contained in:
commit
493963f0c0
@ -24,7 +24,7 @@ class LoadExtractorParsersPass implements CompilerPassInterface
|
||||
}
|
||||
|
||||
// validation may not be installed/enabled, if it is, load that config as well
|
||||
if ($container->hasDefinition('validator.mapping.class_metadata_factory')) {
|
||||
if ($container->has('validator.mapping.class_metadata_factory')) {
|
||||
$loader->load('services.validation.xml');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user