update: type hints

This commit is contained in:
HDVinnie
2022-01-08 15:35:53 -05:00
parent 9ddd9736ac
commit d3abd28925
59 changed files with 112 additions and 346 deletions
@@ -22,7 +22,7 @@ use App\Models\UserActivation;
*/
class ActivationController extends Controller
{
public function activate($token)
public function activate($token): \Illuminate\Http\RedirectResponse
{
$bannedGroup = \cache()->rememberForever('banned_group', fn () => Group::where('slug', '=', 'banned')->pluck('id'));
$memberGroup = \cache()->rememberForever('member_group', fn () => Group::where('slug', '=', 'user')->pluck('id'));