1
0
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:
Dan Brown
2019-09-15 18:29:51 +01:00
parent b1566099a3
commit be08dc1588
23 changed files with 46 additions and 50 deletions

View File

@@ -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');
}
}

View File

@@ -102,5 +102,4 @@ class UserInviteController extends Controller
throw $exception;
}
}

View File

@@ -59,5 +59,4 @@ class PageTemplateController extends Controller
'markdown' => $page->markdown,
]);
}
}