1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Merge pull request #91 from import/fix/sample-code-error

Fix for collection handling code sample
This commit is contained in:
Guilherme Blanco 2012-04-18 08:40:57 -07:00
commit 7d9738e8c0

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