| @@ -95,7 +95,7 @@ | ||
| 95 | 95 | /** | 
| 96 | 96 | * Relationship with category. | 
| 97 | 97 | * | 
| 98 | - * @return \Illuminate\Database\Eloquent\Relations\HasMany | |
| 98 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo | |
| 99 | 99 | */ | 
| 100 | 100 | public function category() | 
| 101 | 101 |      { | 
| @@ -64,7 +64,7 @@ | ||
| 64 | 64 | /** | 
| 65 | 65 | * Relationship with posts. | 
| 66 | 66 | * | 
| 67 | - * @return \Illuminate\Database\Eloquent\Relations\HasMany | |
| 67 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany | |
| 68 | 68 | */ | 
| 69 | 69 | public function posts() | 
| 70 | 70 |      { |