@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Yajra\Acl\Traits; |
4 | 4 | |
5 | -use Yajra\Acl\Models\Role; |
|
6 | 5 | use Illuminate\Support\Str; |
6 | +use Yajra\Acl\Models\Role; |
|
7 | 7 | |
8 | 8 | trait HasRole |
9 | 9 | { |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; |
6 | 6 | use Illuminate\View\Compilers\BladeCompiler; |
7 | -use Yajra\Acl\Models\Permission; |
|
8 | -use Yajra\Acl\Models\Role; |
|
9 | 7 | |
10 | 8 | class AclServiceProvider extends ServiceProvider |
11 | 9 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Yajra\Acl; |
4 | 4 | |
5 | +use Illuminate\Contracts\Auth\Access\Gate as GateContract; |
|
6 | +use Illuminate\Contracts\Cache\Repository; |
|
7 | +use Illuminate\Support\Collection; |
|
5 | 8 | use Illuminate\Support\Str; |
6 | 9 | use Yajra\Acl\Models\Permission; |
7 | -use Illuminate\Support\Collection; |
|
8 | -use Illuminate\Contracts\Cache\Repository; |
|
9 | -use Illuminate\Contracts\Auth\Access\Gate as GateContract; |
|
10 | 10 | |
11 | 11 | class GateRegistrar |
12 | 12 | { |