mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-03-20 20:31:02 -05:00
fix: type hint
This commit is contained in:
@@ -49,7 +49,7 @@ class TopicController extends Controller
|
||||
/**
|
||||
* Show The Topic.
|
||||
*/
|
||||
public function topic(Topic $id, string $page = '', string $post = ''): \Illuminate\Contracts\View\Factory|\Illuminate\View\View|\Illuminate\Http\RedirectResponse
|
||||
public function topic(int $id, string $page = '', string $post = ''): \Illuminate\Contracts\View\Factory|\Illuminate\View\View|\Illuminate\Http\RedirectResponse
|
||||
{
|
||||
// Find the topic
|
||||
$topic = Topic::findOrFail($id);
|
||||
|
||||
Reference in New Issue
Block a user