From a1fb717074bce09e4c5e50e646fb4b2ba69fc677 Mon Sep 17 00:00:00 2001 From: "Johannes M. Schmitt" Date: Mon, 14 Mar 2011 17:45:27 +0100 Subject: [PATCH] [DependencyInjection] loader fix --- .../Component/DependencyInjection/Loader/XmlFileLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php b/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php index ffc67663b7..d0dd554883 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php +++ b/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php @@ -184,7 +184,7 @@ class XmlFileLoader extends FileLoader } if (isset($service['parent'])) { - $definition = new DefinitionDecorator($service['parent']); + $definition = new DefinitionDecorator((string) $service['parent']); } else { $definition = new Definition(); }