AuthController return types

This commit is contained in:
msquare 2019-07-21 12:37:01 +02:00
parent fece50ca09
commit b03102e3c6
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class AuthController extends BaseController
/** /**
* @return Response * @return Response
*/ */
public function login() public function login(): Response
{ {
return $this->showLogin(); return $this->showLogin();
} }
@ -62,7 +62,7 @@ class AuthController extends BaseController
* @param bool $showRecovery * @param bool $showRecovery
* @return Response * @return Response
*/ */
protected function showLogin($showRecovery = false) protected function showLogin($showRecovery = false): Response
{ {
$errors = Collection::make(Arr::flatten($this->session->get('errors', []))); $errors = Collection::make(Arr::flatten($this->session->get('errors', [])));
$this->session->remove('errors'); $this->session->remove('errors');