mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Ran phpcbf and updated helpers typehinting
This commit is contained in:
@@ -64,7 +64,6 @@ class ConfirmEmailController extends Controller
|
||||
try {
|
||||
$userId = $this->emailConfirmationService->checkTokenAndGetUserId($token);
|
||||
} catch (Exception $exception) {
|
||||
|
||||
if ($exception instanceof UserTokenNotFoundException) {
|
||||
session()->flash('error', trans('errors.email_confirmation_invalid'));
|
||||
return redirect('/register');
|
||||
@@ -114,5 +113,4 @@ class ConfirmEmailController extends Controller
|
||||
session()->flash('success', trans('auth.email_confirm_resent'));
|
||||
return redirect('/register/confirm');
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -102,5 +102,4 @@ class UserInviteController extends Controller
|
||||
|
||||
throw $exception;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -59,5 +59,4 @@ class PageTemplateController extends Controller
|
||||
'markdown' => $page->markdown,
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user