@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Determine if the model has the given permission. |
189 | 189 | * |
190 | - * @param string|int|\Spatie\Permission\Contracts\Permission $permission |
|
190 | + * @param Permission $permission |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * A role may be given various permissions. |
9 | 9 | * |
10 | - * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany|\Illuminate\Database\Eloquent\Relations\MorphToMany; |
|
10 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany |
|
11 | 11 | */ |
12 | 12 | public function permissions(); |
13 | 13 |