@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @return mixed |
|
| 38 | + * @return \Illuminate\Database\Eloquent\Relations\MorphTo |
|
| 39 | 39 | */ |
| 40 | 40 | public function commentable() |
| 41 | 41 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @return mixed |
|
| 46 | + * @return \Illuminate\Database\Eloquent\Relations\MorphTo |
|
| 47 | 47 | */ |
| 48 | 48 | public function creator() |
| 49 | 49 | { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * @param Model $creator |
| 35 | 35 | * @param Model|null $parent |
| 36 | 36 | * |
| 37 | - * @return static |
|
| 37 | + * @return Comment |
|
| 38 | 38 | */ |
| 39 | 39 | public function comment($data, Model $creator, Model $parent = null) |
| 40 | 40 | { |