From 40f93daa83b17ad47c51ec9beed4c1ba79eb66ed Mon Sep 17 00:00:00 2001 From: Can Vural Date: Sat, 14 Dec 2019 11:48:14 +0100 Subject: [PATCH] Update redirectTo return type PHPDoc --- app/Http/Middleware/Authenticate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index a4be5c587ec..704089a7fe7 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -10,7 +10,7 @@ class Authenticate extends Middleware * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request - * @return string + * @return string|null */ protected function redirectTo($request) {