[DependencyInjection] loader fix
This commit is contained in:
parent
4539b47522
commit
a1fb717074
@ -184,7 +184,7 @@ class XmlFileLoader extends FileLoader
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($service['parent'])) {
|
if (isset($service['parent'])) {
|
||||||
$definition = new DefinitionDecorator($service['parent']);
|
$definition = new DefinitionDecorator((string) $service['parent']);
|
||||||
} else {
|
} else {
|
||||||
$definition = new Definition();
|
$definition = new Definition();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user