@@ -127,6 +127,10 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | if (!function_exists('e')) { |
130 | + |
|
131 | + /** |
|
132 | + * @param string $value |
|
133 | + */ |
|
130 | 134 | function e($value) |
131 | 135 | { |
132 | 136 | return htmlspecialchars($value); |
@@ -13,7 +13,6 @@ |
||
13 | 13 | /** |
14 | 14 | * Register any application authentication / authorization services. |
15 | 15 | * |
16 | - * @param \Illuminate\Contracts\Auth\Access\Gate $gate |
|
17 | 16 | * @return void |
18 | 17 | */ |
19 | 18 | public function boot(AuthManager $auth) |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Auth\AuthManager; |
6 | 6 | use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; |
7 | -use Longman\Platfourm\Auth\RemoteUserProvider; |
|
8 | -use Longman\Platfourm\Auth\Repositories\RemoteUserRepository; |
|
9 | 7 | |
10 | 8 | class AuthServiceProvider extends ServiceProvider |
11 | 9 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | /** |
19 | 19 | * Create a new filter instance. |
20 | 20 | * |
21 | - * @param Guard $auth |
|
22 | 21 | * @return void |
23 | 22 | */ |
24 | 23 | public function __construct(AuthUserServiceContract $authService) |
@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * Create a new filter instance. |
19 | 19 | * |
20 | - * @param Guard $auth |
|
21 | 20 | * @return void |
22 | 21 | */ |
23 | 22 | public function __construct(AuthUserServiceContract $authService) |
@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * Create a new filter instance. |
19 | 19 | * |
20 | - * @param Guard $auth |
|
21 | 20 | * @return void |
22 | 21 | */ |
23 | 22 | public function __construct(AuthUserServiceContract $authService) |
@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * Create a new filter instance. |
19 | 19 | * |
20 | - * @param Guard $auth |
|
21 | 20 | * @return void |
22 | 21 | */ |
23 | 22 | public function __construct(AuthUserServiceContract $authService) |
@@ -155,6 +155,9 @@ |
||
155 | 155 | } |
156 | 156 | } |
157 | 157 | |
158 | + /** |
|
159 | + * @param string $perm |
|
160 | + */ |
|
158 | 161 | public function can($perm) |
159 | 162 | { |
160 | 163 | return $this->getUser()->can($perm); |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use App\Repositories\Identity\UserRepository; |
8 | 8 | use App\Repositories\Repository; |
9 | 9 | use App\Services\EntityService; |
10 | -use App\Services\ServiceDispatcher; |
|
11 | 10 | |
12 | 11 | class CheckMailService extends EntityService |
13 | 12 | { |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use App\Repositories\Identity\UserRepository; |
8 | 8 | use App\Repositories\Repository; |
9 | 9 | use App\Services\EntityService; |
10 | -use App\Services\ServiceDispatcher; |
|
11 | 10 | |
12 | 11 | class UpdateProfileService extends EntityService |
13 | 12 | { |