@@ -119,7 +119,7 @@ |
||
119 | 119 | /** |
120 | 120 | * Determine if the user may perform the given permission. |
121 | 121 | * |
122 | - * @param string|Permission $permission |
|
122 | + * @param Permission $permission |
|
123 | 123 | * |
124 | 124 | * @return bool |
125 | 125 | */ |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Model; |
6 | 6 | use Spatie\Permission\Contracts\Role as RoleContract; |
7 | -use Spatie\Permission\Exceptions\PermissionDoesNotExist; |
|
8 | 7 | use Spatie\Permission\Exceptions\RoleDoesNotExist; |
9 | 8 | use Spatie\Permission\Traits\HasPermissions; |
10 | 9 | use Spatie\Permission\Traits\RefreshesPermissionCache; |