From c2772b4d4e0d16b507ecafc1c87d5fe339037ec1 Mon Sep 17 00:00:00 2001 From: Shivendra Date: Mon, 22 Jul 2024 17:34:22 +0530 Subject: [PATCH] fixed pint test --- .../Http/Controllers/Settings/RoleController.php | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php index fd7e7dd2d..727a88b96 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php @@ -2,13 +2,12 @@ namespace Webkul\Admin\Http\Controllers\Settings; -use Illuminate\View\View; use Illuminate\Http\JsonResponse; use Illuminate\Support\Facades\Event; -use Webkul\User\Repositories\RoleRepository; -use Webkul\User\Repositories\UserRepository; -use Webkul\Admin\Http\Controllers\Controller; +use Illuminate\View\View; use Webkul\Admin\DataGrids\Setting\RoleDataGrid; +use Webkul\Admin\Http\Controllers\Controller; +use Webkul\User\Repositories\RoleRepository; class RoleController extends Controller { @@ -17,11 +16,8 @@ class RoleController extends Controller * * @return void */ - public function __construct( - protected RoleRepository $roleRepository, - protected UserRepository $userRepository - ) {} - + public function __construct(protected RoleRepository $roleRepository) {} + /** * Display a listing of the resource. */