Commit 88c04515 authored by Vipul Basapati's avatar Vipul Basapati

Fixed StyleCI issues

parent 53693f27
...@@ -31,8 +31,8 @@ class PagesController extends APIController ...@@ -31,8 +31,8 @@ class PagesController extends APIController
{ {
$limit = $request->get('paginate') ? $request->get('paginate') : 25; $limit = $request->get('paginate') ? $request->get('paginate') : 25;
$orderBy = $request->get('orderBy') ? $request->get('orderBy') : 'ASC'; $orderBy = $request->get('orderBy') ? $request->get('orderBy') : 'ASC';
$sortBy = $request->get('sortBy') ? $request->get('sortBy') : config('module.pages.table', 'pages'). 'created_at'; $sortBy = $request->get('sortBy') ? $request->get('sortBy') : config('module.pages.table', 'pages').'created_at';
return PagesResource::collection( return PagesResource::collection(
$this->repository->getForDataTable()->orderBy($sortBy, $orderBy)->paginate($limit) $this->repository->getForDataTable()->orderBy($sortBy, $orderBy)->paginate($limit)
); );
......
...@@ -96,7 +96,7 @@ class ResetPasswordController extends Controller ...@@ -96,7 +96,7 @@ class ResetPasswordController extends Controller
* Get the response for a successful password reset. * Get the response for a successful password reset.
* *
* @param \Illuminate\Http\Request $request * @param \Illuminate\Http\Request $request
* @param string $response * @param string $response
* *
* @return \Illuminate\Http\RedirectResponse * @return \Illuminate\Http\RedirectResponse
*/ */
......
...@@ -6,8 +6,8 @@ use App\Events\Frontend\Auth\UserConfirmed; ...@@ -6,8 +6,8 @@ use App\Events\Frontend\Auth\UserConfirmed;
use App\Exceptions\GeneralException; use App\Exceptions\GeneralException;
use App\Models\Access\User\SocialLogin; use App\Models\Access\User\SocialLogin;
use App\Models\Access\User\User; use App\Models\Access\User\User;
use App\Notifications\Frontend\Auth\UserNeedsConfirmation;
use App\Notifications\Frontend\Auth\UserChangedPassword; use App\Notifications\Frontend\Auth\UserChangedPassword;
use App\Notifications\Frontend\Auth\UserNeedsConfirmation;
use App\Repositories\Backend\Access\Role\RoleRepository; use App\Repositories\Backend\Access\Role\RoleRepository;
use App\Repositories\BaseRepository; use App\Repositories\BaseRepository;
use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\DB;
...@@ -287,7 +287,6 @@ class UserRepository extends BaseRepository ...@@ -287,7 +287,6 @@ class UserRepository extends BaseRepository
$user->password = bcrypt($input['password']); $user->password = bcrypt($input['password']);
if ($user->save()) { if ($user->save()) {
$user->notify(new UserChangedPassword($input['password'])); $user->notify(new UserChangedPassword($input['password']));
return true; return true;
......
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