From b03102e3c613bd057f117a145d94aec4c977006c Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 21 Jul 2019 12:37:01 +0200 Subject: [PATCH] AuthController return types --- src/Controllers/AuthController.php | 4 ++-- 1 file 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');