@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * Links the relationships with primary model. |
| 28 | - * @param $model ActiveRecordInterface |
|
| 28 | + * @param BaseActiveRecord $model ActiveRecordInterface |
|
| 29 | 29 | * @param array $data relationship links |
| 30 | 30 | */ |
| 31 | 31 | protected function linkRelationships($model, array $data = []) |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * Removes the relationships from primary model. |
| 64 | - * @param $model ActiveRecordInterface |
|
| 64 | + * @param BaseActiveRecord $model ActiveRecordInterface |
|
| 65 | 65 | * @param array $data relationship links |
| 66 | 66 | */ |
| 67 | 67 | protected function unlinkRelationships($model, array $data = []) |