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
0dd3180c
Commit
0dd3180c
authored
May 07, 2018
by
Viral Solani
Committed by
StyleCI Bot
May 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply fixes from StyleCI
parent
7572012a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
28 deletions
+28
-28
UserController.php
app/Http/Controllers/Backend/Access/User/UserController.php
+22
-22
CreateResponse.php
app/Http/Responses/Backend/Access/User/CreateResponse.php
+2
-2
IndexResponse.php
app/Http/Responses/Backend/Access/User/IndexResponse.php
+2
-2
ShowResponse.php
app/Http/Responses/Backend/Access/User/ShowResponse.php
+2
-2
No files found.
app/Http/Controllers/Backend/Access/User/UserController.php
View file @
0dd3180c
...
@@ -2,23 +2,23 @@
...
@@ -2,23 +2,23 @@
namespace
App\Http\Controllers\Backend\Access\User
;
namespace
App\Http\Controllers\Backend\Access\User
;
use
App\Models\Access\User\User
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\RedirectResponse
;
use
App\Models\Access\Permission\Permission
;
use
App\Http\Responses\Backend\Access\User\EditResponse
;
use
App\Http\Responses\Backend\Access\User\ShowResponse
;
use
App\Repositories\Backend\Access\Role\RoleRepository
;
use
App\Repositories\Backend\Access\User\UserRepository
;
use
App\Http\Responses\Backend\Access\User\IndexResponse
;
use
App\Http\Requests\Backend\Access\User\EditUserRequest
;
use
App\Http\Requests\Backend\Access\User\ShowUserRequest
;
use
App\Http\Responses\Backend\Access\User\CreateResponse
;
use
App\Http\Requests\Backend\Access\User\StoreUserRequest
;
use
App\Http\Requests\Backend\Access\User\CreateUserRequest
;
use
App\Http\Requests\Backend\Access\User\CreateUserRequest
;
use
App\Http\Requests\Backend\Access\User\DeleteUserRequest
;
use
App\Http\Requests\Backend\Access\User\DeleteUserRequest
;
use
App\Http\Requests\Backend\Access\User\EditUserRequest
;
use
App\Http\Requests\Backend\Access\User\ManageUserRequest
;
use
App\Http\Requests\Backend\Access\User\ManageUserRequest
;
use
App\Http\Requests\Backend\Access\User\ShowUserRequest
;
use
App\Http\Requests\Backend\Access\User\StoreUserRequest
;
use
App\Http\Requests\Backend\Access\User\UpdateUserRequest
;
use
App\Http\Requests\Backend\Access\User\UpdateUserRequest
;
use
App\Http\Responses\Backend\Access\User\CreateResponse
;
use
App\Http\Responses\Backend\Access\User\EditResponse
;
use
App\Http\Responses\Backend\Access\User\IndexResponse
;
use
App\Http\Responses\Backend\Access\User\ShowResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Models\Access\Permission\Permission
;
use
App\Models\Access\User\User
;
use
App\Repositories\Backend\Access\Role\RoleRepository
;
use
App\Repositories\Backend\Access\User\UserRepository
;
/**
/**
* Class UserController.
* Class UserController.
...
@@ -47,7 +47,7 @@ class UserController extends Controller
...
@@ -47,7 +47,7 @@ class UserController extends Controller
/**
/**
* @param \App\Http\Requests\Backend\Access\User\ManageUserRequest $request
* @param \App\Http\Requests\Backend\Access\User\ManageUserRequest $request
*
*
* @return \App\Http\Responses\Backend\Access\User\IndexResponse
* @return \App\Http\Responses\Backend\Access\User\IndexResponse
*/
*/
public
function
index
(
ManageUserRequest
$request
)
public
function
index
(
ManageUserRequest
$request
)
...
@@ -63,7 +63,7 @@ class UserController extends Controller
...
@@ -63,7 +63,7 @@ class UserController extends Controller
public
function
create
(
CreateUserRequest
$request
)
public
function
create
(
CreateUserRequest
$request
)
{
{
$roles
=
$this
->
roles
->
getAll
();
$roles
=
$this
->
roles
->
getAll
();
return
new
CreateResponse
(
$roles
);
return
new
CreateResponse
(
$roles
);
}
}
...
@@ -80,8 +80,8 @@ class UserController extends Controller
...
@@ -80,8 +80,8 @@ class UserController extends Controller
}
}
/**
/**
* @param \App\Models\Access\User\User
$user
* @param \App\Models\Access\User\User $user
* @param \App\Http\Requests\Backend\Access\User\ShowUserRequest
$request
* @param \App\Http\Requests\Backend\Access\User\ShowUserRequest $request
*
*
* @return \App\Http\Responses\Backend\Access\User\ShowResponse
* @return \App\Http\Responses\Backend\Access\User\ShowResponse
*/
*/
...
@@ -91,8 +91,8 @@ class UserController extends Controller
...
@@ -91,8 +91,8 @@ class UserController extends Controller
}
}
/**
/**
* @param \App\Models\Access\User\User
$user
* @param \App\Models\Access\User\User $user
* @param \App\Http\Requests\Backend\Access\User\EditUserRequest
$request
* @param \App\Http\Requests\Backend\Access\User\EditUserRequest $request
*
*
* @return \App\Http\Responses\Backend\Access\User\EditResponse
* @return \App\Http\Responses\Backend\Access\User\EditResponse
*/
*/
...
@@ -105,8 +105,8 @@ class UserController extends Controller
...
@@ -105,8 +105,8 @@ class UserController extends Controller
}
}
/**
/**
* @param \App\Models\Access\User\User
$user
* @param \App\Models\Access\User\User $user
* @param \App\Http\Requests\Backend\Access\User\UpdateUserRequest
$request
* @param \App\Http\Requests\Backend\Access\User\UpdateUserRequest $request
*
*
* @return \App\Http\Responses\RedirectResponse
* @return \App\Http\Responses\RedirectResponse
*/
*/
...
@@ -118,8 +118,8 @@ class UserController extends Controller
...
@@ -118,8 +118,8 @@ class UserController extends Controller
}
}
/**
/**
* @param \App\Models\Access\User\User
$user
* @param \App\Models\Access\User\User $user
* @param \App\Http\Requests\Backend\Access\User\DeleteUserRequest
$request
* @param \App\Http\Requests\Backend\Access\User\DeleteUserRequest $request
*
*
* @return \App\Http\Responses\RedirectResponse
* @return \App\Http\Responses\RedirectResponse
*/
*/
...
...
app/Http/Responses/Backend/Access/User/CreateResponse.php
View file @
0dd3180c
...
@@ -20,10 +20,10 @@ class CreateResponse implements Responsable
...
@@ -20,10 +20,10 @@ class CreateResponse implements Responsable
}
}
/**
/**
* In Response
* In Response
.
*
*
* @param \App\Http\Requests\Request $request
* @param \App\Http\Requests\Request $request
*
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/Access/User/IndexResponse.php
View file @
0dd3180c
...
@@ -7,10 +7,10 @@ use Illuminate\Contracts\Support\Responsable;
...
@@ -7,10 +7,10 @@ use Illuminate\Contracts\Support\Responsable;
class
IndexResponse
implements
Responsable
class
IndexResponse
implements
Responsable
{
{
/**
/**
* In Response
* In Response
.
*
*
* @param \App\Http\Requests\Request $request
* @param \App\Http\Requests\Request $request
*
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/Access/User/ShowResponse.php
View file @
0dd3180c
...
@@ -20,10 +20,10 @@ class ShowResponse implements Responsable
...
@@ -20,10 +20,10 @@ class ShowResponse implements Responsable
}
}
/**
/**
* In Response
* In Response
.
*
*
* @param \App\Http\Requests\Request $request
* @param \App\Http\Requests\Request $request
*
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$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