Completed
Pull Request — master (#1381)
by Stefan
01:14
created
src/Traits/HasPermissions.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Permission\Traits;
4 4
 
5
-use Spatie\Permission\Guard;
6
-use Illuminate\Support\Collection;
7 5
 use Illuminate\Database\Eloquent\Builder;
8
-use Spatie\Permission\PermissionRegistrar;
6
+use Illuminate\Database\Eloquent\Relations\MorphToMany;
7
+use Illuminate\Support\Collection;
9 8
 use Spatie\Permission\Contracts\Permission;
10 9
 use Spatie\Permission\Exceptions\GuardDoesNotMatch;
11
-use Illuminate\Database\Eloquent\Relations\MorphToMany;
12 10
 use Spatie\Permission\Exceptions\PermissionDoesNotExist;
11
+use Spatie\Permission\Guard;
12
+use Spatie\Permission\PermissionRegistrar;
13 13
 use Spatie\Permission\WildcardPermission;
14 14
 
15 15
 trait HasPermissions
Please login to merge, or discard this patch.
src/WildcardPermission.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @param string|WildcardPermission $permission
37
+     * @param WildcardPermission $permission
38 38
      *
39 39
      * @return bool
40 40
      */
Please login to merge, or discard this patch.