mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 10:11:25 -05:00
update: type hints
This commit is contained in:
@@ -35,7 +35,7 @@ class PageController extends Controller
|
||||
/**
|
||||
* Show A Page.
|
||||
*/
|
||||
public function show(Page $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
public function show(int $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
$page = Page::findOrFail($id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user