Merge pull request #91 from import/fix/sample-code-error
Fix for collection handling code sample
This commit is contained in:
commit
7d9738e8c0
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user