segoddnja/Comments-module — Issue #3: Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
Author: bogusbd
Created: 2012-02-17 18:46:40+00:00
State: open

выкидывает ошибку
```code
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in path\www\protected\modules\comments\models\Comment.php on line 340
```

имхо для исправления строку
https://github.com/segoddnja/Comments-module/blob/master/models/Comment.php#L340
нужно заменить на
```php
$this->_ownerModel = CActiveRecord::model($ownerModel)->findByPk($key);
```