mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 18:20:31 -05:00
update: type hints
This commit is contained in:
@@ -311,7 +311,7 @@ class ForumController extends Controller
|
||||
/**
|
||||
* Show Forums And Topics Inside.
|
||||
*/
|
||||
public function show(Forum $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View|\Illuminate\Http\RedirectResponse
|
||||
public function show(int $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View|\Illuminate\Http\RedirectResponse
|
||||
{
|
||||
// Find the topic
|
||||
$forum = Forum::findOrFail($id);
|
||||
|
||||
Reference in New Issue
Block a user