diff options
author | msquare <msquare@notrademark.de> | 2019-07-21 12:37:01 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-07-21 12:37:01 +0200 |
commit | b03102e3c613bd057f117a145d94aec4c977006c (patch) | |
tree | 0c9691ad1beba3dbb59163ac84bf6f8789c30923 | |
parent | fece50ca0993d2b52e09be8543cb796594681c9a (diff) |
AuthController return types
-rw-r--r-- | src/Controllers/AuthController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Controllers/AuthController.php b/src/Controllers/AuthController.php index a8cc1ace..55dd56b0 100644 --- a/src/Controllers/AuthController.php +++ b/src/Controllers/AuthController.php @@ -53,7 +53,7 @@ class AuthController extends BaseController /** * @return Response */ - public function login() + public function login(): Response { return $this->showLogin(); } @@ -62,7 +62,7 @@ class AuthController extends BaseController * @param bool $showRecovery * @return Response */ - protected function showLogin($showRecovery = false) + protected function showLogin($showRecovery = false): Response { $errors = Collection::make(Arr::flatten($this->session->get('errors', []))); $this->session->remove('errors'); |