@@ -89,7 +89,7 @@ |
||
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 | { |
@@ -3,12 +3,10 @@ |
||
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 | { |