summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-07-21 12:37:01 +0200
committermsquare <msquare@notrademark.de>2019-07-21 12:37:01 +0200
commitb03102e3c613bd057f117a145d94aec4c977006c (patch)
tree0c9691ad1beba3dbb59163ac84bf6f8789c30923
parentfece50ca0993d2b52e09be8543cb796594681c9a (diff)
AuthController return types
-rw-r--r--src/Controllers/AuthController.php4
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');