1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Fix for collection handling code sample

This commit is contained in:
Osman Üngür 2012-04-18 17:13:14 +03:00
parent 03a74a250a
commit 05a188da38

View File

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