Skip to content

Commit

Permalink
updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Oct 22, 2023
1 parent d3285c0 commit 6a56cb5
Show file tree
Hide file tree
Showing 23 changed files with 280 additions and 556 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All Notable changes to `laravel-modules` will be documented in this file.

## Next

## Changed

- [@solomon-ochepa](https://github.com/solomon-ochepa) updated stubs to use return types


## 10.0.2 - 2023-09-18

## Changed
Expand All @@ -13,7 +18,7 @@ All Notable changes to `laravel-modules` will be documented in this file.
## 10.0.1 - 2023-09-18

## Added

- [@JaberWiki](https://github.com/JaberWiki) Added Include an optional flag `subpath` for rolling back a module's specific migration file [#1626](https://github.com/nWidart/laravel-modules/pull/1626)
- [@sergiy-petrov](https://github.com/sergiy-petrov) Added support for testing GitHub actions against PHP versions 8.2 and 8.3. [#1624](https://github.com/nWidart/laravel-modules/pull/1624)
- [@hanieas](https://github.com/hanieas) Added make Observer command. [#1623](https://github.com/nWidart/laravel-modules/pull/1623)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,65 @@

namespace Modules\Blog\Http\Controllers;

use Illuminate\Contracts\Support\Renderable;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Http\Response;

class MyController extends Controller
{
/**
* Display a listing of the resource.
* @return Renderable
*/
public function index()
public function index(): Response
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
* @return Renderable
*/
public function create()
public function create(): Response
{
return view('blog::create');
}

/**
* Store a newly created resource in storage.
* @param Request $request
* @return Renderable
*/
public function store(Request $request)
public function store(Request $request): RedirectResponse
{
//
}

/**
* Show the specified resource.
* @param int $id
* @return Renderable
*/
public function show($id)
public function show($id): Response
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
* @param int $id
* @return Renderable
*/
public function edit($id)
public function edit($id): Response
{
return view('blog::edit');
}

/**
* Update the specified resource in storage.
* @param Request $request
* @param int $id
* @return Renderable
*/
public function update(Request $request, $id)
public function update(Request $request, $id): RedirectResponse
{
//
}

/**
* Remove the specified resource from storage.
* @param int $id
* @return Renderable
*/
public function destroy($id)
public function destroy($id): RedirectResponse
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,65 @@

namespace Modules\Blog\Controllers;

use Illuminate\Contracts\Support\Renderable;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Http\Response;

class MyController extends Controller
{
/**
* Display a listing of the resource.
* @return Renderable
*/
public function index()
public function index(): Response
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
* @return Renderable
*/
public function create()
public function create(): Response
{
return view('blog::create');
}

/**
* Store a newly created resource in storage.
* @param Request $request
* @return Renderable
*/
public function store(Request $request)
public function store(Request $request): RedirectResponse
{
//
}

/**
* Show the specified resource.
* @param int $id
* @return Renderable
*/
public function show($id)
public function show($id): Response
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
* @param int $id
* @return Renderable
*/
public function edit($id)
public function edit($id): Response
{
return view('blog::edit');
}

/**
* Update the specified resource in storage.
* @param Request $request
* @param int $id
* @return Renderable
*/
public function update(Request $request, $id)
public function update(Request $request, $id): RedirectResponse
{
//
}

/**
* Remove the specified resource from storage.
* @param int $id
* @return Renderable
*/
public function destroy($id)
public function destroy($id): RedirectResponse
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,65 @@

namespace Modules\Blog\Controllers;

use Illuminate\Contracts\Support\Renderable;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Http\Response;

class MyController extends Controller
{
/**
* Display a listing of the resource.
* @return Renderable
*/
public function index()
public function index(): Response
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
* @return Renderable
*/
public function create()
public function create(): Response
{
return view('blog::create');
}

/**
* Store a newly created resource in storage.
* @param Request $request
* @return Renderable
*/
public function store(Request $request)
public function store(Request $request): RedirectResponse
{
//
}

/**
* Show the specified resource.
* @param int $id
* @return Renderable
*/
public function show($id)
public function show($id): Response
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
* @param int $id
* @return Renderable
*/
public function edit($id)
public function edit($id): Response
{
return view('blog::edit');
}

/**
* Update the specified resource in storage.
* @param Request $request
* @param int $id
* @return Renderable
*/
public function update(Request $request, $id)
public function update(Request $request, $id): RedirectResponse
{
//
}

/**
* Remove the specified resource from storage.
* @param int $id
* @return Renderable
*/
public function destroy($id)
public function destroy($id): RedirectResponse
{
//
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,65 @@

namespace Modules\Blog\Http\Controllers\Api;

use Illuminate\Contracts\Support\Renderable;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Http\Response;

class MyController extends Controller
{
/**
* Display a listing of the resource.
* @return Renderable
*/
public function index()
public function index(): Response
{
return view('blog::index');
}

/**
* Show the form for creating a new resource.
* @return Renderable
*/
public function create()
public function create(): Response
{
return view('blog::create');
}

/**
* Store a newly created resource in storage.
* @param Request $request
* @return Renderable
*/
public function store(Request $request)
public function store(Request $request): RedirectResponse
{
//
}

/**
* Show the specified resource.
* @param int $id
* @return Renderable
*/
public function show($id)
public function show($id): Response
{
return view('blog::show');
}

/**
* Show the form for editing the specified resource.
* @param int $id
* @return Renderable
*/
public function edit($id)
public function edit($id): Response
{
return view('blog::edit');
}

/**
* Update the specified resource in storage.
* @param Request $request
* @param int $id
* @return Renderable
*/
public function update(Request $request, $id)
public function update(Request $request, $id): RedirectResponse
{
//
}

/**
* Remove the specified resource from storage.
* @param int $id
* @return Renderable
*/
public function destroy($id)
public function destroy($id): RedirectResponse
{
//
}
Expand Down
Loading

0 comments on commit 6a56cb5

Please sign in to comment.