Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
7d0b9642
Unverified
Commit
7d0b9642
authored
Mar 16, 2018
by
Viral Solani
Committed by
GitHub
Mar 16, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #188 from viralsolani/analysis-8QWjjZ
Apply fixes from StyleCI
parents
31c6d138
47effe56
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Handler.php
app/Exceptions/Handler.php
+1
-1
UsersController.php
app/Http/Controllers/Api/V1/UsersController.php
+4
-4
Request.php
app/Http/Requests/Request.php
+1
-1
No files found.
app/Exceptions/Handler.php
View file @
7d0b9642
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
namespace
App\Exceptions
;
namespace
App\Exceptions
;
use
Exception
;
use
Exception
;
use
Illuminate\Auth\Access\AuthorizationException
;
use
Illuminate\Auth\AuthenticationException
;
use
Illuminate\Auth\AuthenticationException
;
use
Illuminate\Database\Eloquent\ModelNotFoundException
;
use
Illuminate\Database\Eloquent\ModelNotFoundException
;
use
Illuminate\Foundation\Exceptions\Handler
as
ExceptionHandler
;
use
Illuminate\Foundation\Exceptions\Handler
as
ExceptionHandler
;
...
@@ -11,7 +12,6 @@ use Illuminate\Validation\ValidationException;
...
@@ -11,7 +12,6 @@ use Illuminate\Validation\ValidationException;
use
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
;
use
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
;
use
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
;
use
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
;
use
Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
;
use
Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
;
use
Illuminate\Auth\Access\AuthorizationException
;
class
Handler
extends
ExceptionHandler
class
Handler
extends
ExceptionHandler
{
{
...
...
app/Http/Controllers/Api/V1/UsersController.php
View file @
7d0b9642
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
namespace
App\Http\Controllers\Api\V1
;
namespace
App\Http\Controllers\Api\V1
;
use
Validator
;
use
App\Http\Requests\Backend\Access\User\ManageUserRequest
;
use
Illuminate\Http\Request
;
use
App\Models\Access\User\User
;
use
App\Http\Resources\UserResource
;
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
App\Http\Requests\Backend\Access\User\ManageUserRequest
;
use
Illuminate\Http\Request
;
use
Validator
;
class
UsersController
extends
APIController
class
UsersController
extends
APIController
{
{
...
...
app/Http/Requests/Request.php
View file @
7d0b9642
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
namespace
App\Http\Requests
;
namespace
App\Http\Requests
;
use
Illuminate\Foundation\Http\FormRequest
;
use
Illuminate\Auth\Access\AuthorizationException
;
use
Illuminate\Auth\Access\AuthorizationException
;
use
Illuminate\Foundation\Http\FormRequest
;
/**
/**
* Class Request.
* Class Request.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment