Browse Source

Update redirectTo return type PHPDoc

Can Vural 4 years ago
parent
commit
40f93daa83
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)
     {