We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 648aa42 commit 9e1f4a0Copy full SHA for 9e1f4a0
app/Http/Controllers/Forum/ThreadsController.php
@@ -81,7 +81,7 @@ public function show(Thread $thread)
81
return view('forum.threads.show', compact('thread', 'moderators'));
82
}
83
84
- public function create()
+ public function create(): RedirectResponse|View
85
{
86
if (Auth::user()->hasTooManyThreadsToday()) {
87
$this->error('You can only post a maximum of 5 threads per day.');
0 commit comments