File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,15 @@ public function setUser(AuthenticatableContract $user)
96
96
}
97
97
98
98
/**
99
- * Forget the user.
99
+ * Forget the current user.
100
100
*
101
- * @return void
101
+ * @return $this
102
102
*/
103
103
public function forgetUser ()
104
104
{
105
105
$ this ->user = null ;
106
+
107
+ return $ this ;
106
108
}
107
109
108
110
/**
Original file line number Diff line number Diff line change 56
56
* @method static \Illuminate\Auth\SessionGuard setRequest(\Symfony\Component\HttpFoundation\Request $request)
57
57
* @method static \Illuminate\Support\Timebox getTimebox()
58
58
* @method static \Illuminate\Contracts\Auth\Authenticatable authenticate()
59
- * @method static void forgetUser()
60
59
* @method static \Illuminate\Contracts\Auth\UserProvider getProvider()
61
60
* @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider)
62
61
* @method static void macro(string $name, object|callable $macro)
You can’t perform that action at this time.
0 commit comments