@@ -260,7 +260,7 @@ |
||
260 | 260 | /** |
261 | 261 | * Check if role has the given permission (Permission Model or Id). |
262 | 262 | * |
263 | - * @param \Arcanesoft\Contracts\Auth\Models\Permission|int $id |
|
263 | + * @param PermissionContract $id |
|
264 | 264 | * |
265 | 265 | * @return bool |
266 | 266 | */ |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php namespace Arcanedev\LaravelAuth\Models\Pivots; |
2 | 2 | |
3 | -use Illuminate\Database\Eloquent\Relations\Pivot; |
|
4 | 3 | use Illuminate\Database\Eloquent\Model; |
4 | +use Illuminate\Database\Eloquent\Relations\Pivot; |
|
5 | 5 | |
6 | 6 | /** |
7 | 7 | * Class AbstractPivot |