Skip to content

Commit

Permalink
updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Oct 25, 2023
1 parent 91bd182 commit 1a7265e
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 60 deletions.
10 changes: 5 additions & 5 deletions src/Commands/stubs/controller.stub
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class $CLASS$ extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('$LOWER_NAME$::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('$LOWER_NAME$::create');
}
Expand All @@ -36,15 +36,15 @@ class $CLASS$ extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('$LOWER_NAME$::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('$LOWER_NAME$::edit');
}
Expand All @@ -60,7 +60,7 @@ class $CLASS$ extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class MyController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class MyController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class MyController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class MyController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class MyController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class MyController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class MyController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class MyController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class MyController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class MyController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class MyController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class MyController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class MyController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class MyController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class MyController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class PostController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class PostController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class PostController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class PostController extends Controller
/**
* Display a listing of the resource.
*/
public function index(): Response
public function index()
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
*/
public function create(): Response
public function create()
{
return view('blog::create');
}
Expand All @@ -36,15 +36,15 @@ class PostController extends Controller
/**
* Show the specified resource.
*/
public function show($id): Response
public function show($id)
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
public function edit($id)
{
return view('blog::edit');
}
Expand All @@ -60,7 +60,7 @@ class PostController extends Controller
/**
* Remove the specified resource from storage.
*/
public function destroy($id): RedirectResponse
public function destroy($id)
{
//
}
Expand Down
Loading

0 comments on commit 1a7265e

Please sign in to comment.