Fix for collection handling code sample
This commit is contained in:
parent
03a74a250a
commit
05a188da38
@ -177,7 +177,7 @@ with another setup just take a look into the :doc:`Installation help
|
|||||||
|
|
||||||
public function addComment($text)
|
public function addComment($text)
|
||||||
{
|
{
|
||||||
$this->comments[] = $new Comment($this, $text);
|
$this->comments[] = new Comment($this, $text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user