app/Http/Controllers/RegistrationController.php
Method postForm
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function postForm(Request $request, string $key): JsonResponse
{
$invitation = Invitation::where('key', $key)
->where('expires_at', '>=', time())
->first();