From 7933590bf23fbb3cbe04ecd0045bfbfd75343736 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 30 Dec 2013 15:07:09 +0100 Subject: [PATCH] [Components][Dependency Injection] fix PHP syntax errors --- components/dependency_injection/factories.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dependency_injection/factories.rst b/components/dependency_injection/factories.rst index 9477a561683..f156d7a8fab 100644 --- a/components/dependency_injection/factories.rst +++ b/components/dependency_injection/factories.rst @@ -125,7 +125,7 @@ factory itself as a service: $container->setDefinition('newsletter_factory', new Definition( '%newsletter_factory.class%' - )) + )); $container->setDefinition('newsletter_manager', new Definition( '%newsletter_manager.class%' ))->setFactoryService( @@ -193,7 +193,7 @@ in the previous example takes the ``templating`` service as an argument: $container->setDefinition('newsletter_factory', new Definition( '%newsletter_factory.class%' - )) + )); $container->setDefinition('newsletter_manager', new Definition( '%newsletter_manager.class%', array(new Reference('templating'))