Completed
Pull Request — master (#987)
by
unknown
01:25
created
src/PermissionRegistrar.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Register the permission check method on the gate.
91 91
      *
92
-     * @return bool
92
+     * @return boolean|null
93 93
      */
94 94
     public function registerPermissions()
95 95
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 namespace Spatie\Permission;
4 4
 
5 5
 use Illuminate\Cache\CacheManager;
6
-use Illuminate\Support\Collection;
7
-use Spatie\Permission\Contracts\Role;
8 6
 use Illuminate\Contracts\Auth\Access\Gate;
7
+use Illuminate\Support\Collection;
9 8
 use Spatie\Permission\Contracts\Permission;
10
-use Illuminate\Contracts\Auth\Access\Authorizable;
11
-use Spatie\Permission\Exceptions\PermissionDoesNotExist;
9
+use Spatie\Permission\Contracts\Role;
12 10
 
13 11
 class PermissionRegistrar
14 12
 {
Please login to merge, or discard this patch.