From 48ceb34b9487aa8f90a9c74f8af970d718840b84 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Thu, 11 Apr 2013 16:08:30 +0200 Subject: [PATCH 1/4] Fixed comments in 87c0536dab --- cookbook/form/use_empty_data.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/form/use_empty_data.rst b/cookbook/form/use_empty_data.rst index d74f1f5f736..7558a81b584 100644 --- a/cookbook/form/use_empty_data.rst +++ b/cookbook/form/use_empty_data.rst @@ -11,7 +11,7 @@ you form. For example:: public function indexAction() { - $blog = // ... + $blog = ...; // $blog is passed in as the data, so the empty_data option is not needed $form = $this->createForm(new BlogType(), $blog); @@ -35,8 +35,8 @@ that takes arguments. Remember, the default ``data_class`` option calls that constructor with no arguments:: // src/Acme/DemoBundle/Form/Type/BlogType.php - // ... + // ... use Symfony\Component\Form\AbstractType; use Acme\DemoBundle\Entity\Blog; From 212cf5e9326320af570eb3842cef22459d0802e9 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Thu, 11 Apr 2013 16:09:45 +0200 Subject: [PATCH 2/4] Fixed comments in 0b7d8f41f2 --- components/console/single_command_tool.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/components/console/single_command_tool.rst b/components/console/single_command_tool.rst index 35b2f9bf7b8..39305085ad2 100644 --- a/components/console/single_command_tool.rst +++ b/components/console/single_command_tool.rst @@ -66,7 +66,6 @@ You can also simplify how you execute the application:: #!/usr/bin/env php Date: Thu, 11 Apr 2013 16:11:52 +0200 Subject: [PATCH 3/4] Fixed comments in 0b7d8f41f2 --- components/console/single_command_tool.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/console/single_command_tool.rst b/components/console/single_command_tool.rst index 39305085ad2..d77436c53d4 100644 --- a/components/console/single_command_tool.rst +++ b/components/console/single_command_tool.rst @@ -58,7 +58,7 @@ it is possible to remove this need by extending the application:: } } -When calling your console script, the command `MyCommand` will then always +When calling your console script, the command ``MyCommand`` will then always be used, without having to pass its name. You can also simplify how you execute the application:: From 60d588ff24b2e98d3ff9e2fc1c2c80afba243ef0 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Thu, 11 Apr 2013 16:12:21 +0200 Subject: [PATCH 4/4] Fix comments in ea5e1b235d --- components/dependency_injection/configurators.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dependency_injection/configurators.rst b/components/dependency_injection/configurators.rst index b5a1b88d58d..841413f2f87 100644 --- a/components/dependency_injection/configurators.rst +++ b/components/dependency_injection/configurators.rst @@ -78,7 +78,7 @@ in the application:: public function loadFormatters() { // code to configure which formatters to use - $enabledFormatters = array(); + $enabledFormatters = array(...); // ... $this->enabledFormatters = $enabledFormatters;