mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 03:59:08 -05:00
update: type hints
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user