From 05a188da384866f5ea525790117d745694acb8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Osman=20U=CC=88ngu=CC=88r?= Date: Wed, 18 Apr 2012 17:13:14 +0300 Subject: [PATCH] Fix for collection handling code sample --- en/tutorials/in-ten-quick-steps.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/tutorials/in-ten-quick-steps.rst b/en/tutorials/in-ten-quick-steps.rst index 754887d66fa..8ae25a06705 100644 --- a/en/tutorials/in-ten-quick-steps.rst +++ b/en/tutorials/in-ten-quick-steps.rst @@ -177,7 +177,7 @@ with another setup just take a look into the :doc:`Installation help public function addComment($text) { - $this->comments[] = $new Comment($this, $text); + $this->comments[] = new Comment($this, $text); } }