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

Apply fixes from StyleCI

parent 17870f75
......@@ -2,13 +2,13 @@
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\UserUpdated;
use App\Http\Resources\UserResource;
use App\Models\Access\User\User;
use App\Repositories\Backend\Access\User\UserRepository;
use Illuminate\Http\Request;
use Validator;
class UsersController extends APIController
{
......@@ -52,8 +52,8 @@ class UsersController extends APIController
return new UserResource($user);
}
/**
* Create User
/**
* Create User.
*
* @param Request $request
*
......@@ -75,10 +75,10 @@ class UsersController extends APIController
}
/**
* Update User
* Update User.
*
* @param Request $request
* @param User $user
* @param User $user
*
* @return \Illuminate\Http\JsonResponse
*/
......@@ -98,7 +98,7 @@ class UsersController extends APIController
}
/**
* Delete User
* Delete User.
*
* @param User $user
* @param Request $request
......@@ -115,7 +115,7 @@ class UsersController extends APIController
}
/**
* Return the deactivate users
* Return the deactivate users.
*
* @param Request
*
......@@ -147,7 +147,7 @@ class UsersController extends APIController
}
/**
* validateUser User
* validateUser User.
*
* @param $request
* @param $action
......
......@@ -28,7 +28,7 @@ Route::group(['namespace' => 'Api\V1', 'prefix' => 'v1', 'as' => 'v1.'], functio
// Route::post('password/reset', 'ResetPasswordController@reset')->name('password.reset');
});
Route::resource('users', 'UsersController' , ['except' => ['edit', 'udpate']]);
Route::resource('users', 'UsersController', ['except' => ['edit', 'udpate']]);
// Users
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