Commit 4d695ab8 authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent 17870f75
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
namespace App\Http\Controllers\Api\V1; namespace App\Http\Controllers\Api\V1;
use Validator;
use Illuminate\Http\Request;
use App\Models\Access\User\User;
use App\Http\Resources\UserResource;
use App\Events\Backend\Access\User\UserCreated; use App\Events\Backend\Access\User\UserCreated;
use App\Events\Backend\Access\User\UserUpdated; use App\Events\Backend\Access\User\UserUpdated;
use App\Http\Resources\UserResource;
use App\Models\Access\User\User;
use App\Repositories\Backend\Access\User\UserRepository; use App\Repositories\Backend\Access\User\UserRepository;
use Illuminate\Http\Request;
use Validator;
class UsersController extends APIController class UsersController extends APIController
{ {
...@@ -53,7 +53,7 @@ class UsersController extends APIController ...@@ -53,7 +53,7 @@ class UsersController extends APIController
} }
/** /**
* Create User * Create User.
* *
* @param Request $request * @param Request $request
* *
...@@ -75,7 +75,7 @@ class UsersController extends APIController ...@@ -75,7 +75,7 @@ class UsersController extends APIController
} }
/** /**
* Update User * Update User.
* *
* @param Request $request * @param Request $request
* @param User $user * @param User $user
...@@ -98,7 +98,7 @@ class UsersController extends APIController ...@@ -98,7 +98,7 @@ class UsersController extends APIController
} }
/** /**
* Delete User * Delete User.
* *
* @param User $user * @param User $user
* @param Request $request * @param Request $request
...@@ -115,7 +115,7 @@ class UsersController extends APIController ...@@ -115,7 +115,7 @@ class UsersController extends APIController
} }
/** /**
* Return the deactivate users * Return the deactivate users.
* *
* @param Request * @param Request
* *
...@@ -147,7 +147,7 @@ class UsersController extends APIController ...@@ -147,7 +147,7 @@ class UsersController extends APIController
} }
/** /**
* validateUser User * validateUser User.
* *
* @param $request * @param $request
* @param $action * @param $action
......
...@@ -28,7 +28,7 @@ Route::group(['namespace' => 'Api\V1', 'prefix' => 'v1', 'as' => 'v1.'], functio ...@@ -28,7 +28,7 @@ Route::group(['namespace' => 'Api\V1', 'prefix' => 'v1', 'as' => 'v1.'], functio
// Route::post('password/reset', 'ResetPasswordController@reset')->name('password.reset'); // Route::post('password/reset', 'ResetPasswordController@reset')->name('password.reset');
}); });
Route::resource('users', 'UsersController' , ['except' => ['edit', 'udpate']]); Route::resource('users', 'UsersController', ['except' => ['edit', 'udpate']]);
// Users // Users
Route::group(['prefix' => 'users'], function () { Route::group(['prefix' => 'users'], function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment