Skip to content

Commit

Permalink
fixes: use Response removed from user stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
mitulgolakiya committed Jul 21, 2022
1 parent bdf5d72 commit c0b4a6b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions views/scaffold/user/user_controller.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use {{ config('laravel_generator.namespace.controller') }}\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Response;
use Hash;

class UserController extends AppBaseController
Expand All @@ -27,8 +26,6 @@ public function __construct(UserRepository $userRepo)
* Display a listing of the User.
*
* @param Request $request
*
* @return Response
*/
public function index(Request $request)
{
Expand All @@ -39,8 +36,6 @@ public function index(Request $request)

/**
* Show the form for creating a new User.
*
* @return Response
*/
public function create()
{
Expand All @@ -51,8 +46,6 @@ public function create()
* Store a newly created User in storage.
*
* @param CreateUserRequest $request
*
* @return Response
*/
public function store(CreateUserRequest $request)
{
Expand All @@ -69,8 +62,6 @@ public function store(CreateUserRequest $request)
* Display the specified User.
*
* @param int $id
*
* @return Response
*/
public function show($id)
{
Expand All @@ -89,8 +80,6 @@ public function show($id)
* Show the form for editing the specified User.
*
* @param int $id
*
* @return Response
*/
public function edit($id)
{
Expand All @@ -110,8 +99,6 @@ public function edit($id)
*
* @param int $id
* @param UpdateUserRequest $request
*
* @return Response
*/
public function update($id, UpdateUserRequest $request)
{
Expand Down Expand Up @@ -141,8 +128,6 @@ public function update($id, UpdateUserRequest $request)
* @param int $id
*
* @throws \Exception
*
* @return Response
*/
public function destroy($id)
{
Expand Down
15 changes: 0 additions & 15 deletions views/scaffold/user/user_controller_without_repository.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use {{ config('laravel_generator.namespace.controller') }}\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Response;
use Hash;

class UserController extends AppBaseController
Expand All @@ -19,8 +18,6 @@ class UserController extends AppBaseController
* Display a listing of the User.
*
* @param Request $request
*
* @return Response
*/
public function index(Request $request)
{
Expand All @@ -33,8 +30,6 @@ public function index(Request $request)

/**
* Show the form for creating a new User.
*
* @return Response
*/
public function create()
{
Expand All @@ -45,8 +40,6 @@ public function create()
* Store a newly created User in storage.
*
* @param CreateUserRequest $request
*
* @return Response
*/
public function store(CreateUserRequest $request)
{
Expand All @@ -64,8 +57,6 @@ public function store(CreateUserRequest $request)
* Display the specified User.
*
* @param int $id
*
* @return Response
*/
public function show($id)
{
Expand All @@ -85,8 +76,6 @@ public function show($id)
* Show the form for editing the specified User.
*
* @param int $id
*
* @return Response
*/
public function edit($id)
{
Expand All @@ -107,8 +96,6 @@ public function edit($id)
*
* @param int $id
* @param UpdateUserRequest $request
*
* @return Response
*/
public function update($id, UpdateUserRequest $request)
{
Expand Down Expand Up @@ -140,8 +127,6 @@ public function update($id, UpdateUserRequest $request)
* @param int $id
*
* @throws \Exception
*
* @return Response
*/
public function destroy($id)
{
Expand Down

0 comments on commit c0b4a6b

Please sign in to comment.