Browse Source

Merge pull request #5175 from canvural/patch-1

[6.x] Update redirectTo return type PHPDoc
Dries Vints 4 years ago
parent
commit
89e83915e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Middleware/Authenticate.php

+ 1 - 1
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)
     {