[DependencyInjection] loader fix

This commit is contained in:
Johannes M. Schmitt 2011-03-14 17:45:27 +01:00
parent 4539b47522
commit a1fb717074

View File

@ -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();
} }