Completed
Push — master ( 20c72d...5f4231 )
by Freek
02:22
created
src/Traits/HasRoles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Models/Role.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.