Skip to content

Commit 5f97f82

Browse files
committed
formatting
1 parent 73685ff commit 5f97f82

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Illuminate/Auth/GuardHelpers.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,15 @@ public function setUser(AuthenticatableContract $user)
9696
}
9797

9898
/**
99-
* Forget the user.
99+
* Forget the current user.
100100
*
101-
* @return void
101+
* @return $this
102102
*/
103103
public function forgetUser()
104104
{
105105
$this->user = null;
106+
107+
return $this;
106108
}
107109

108110
/**

src/Illuminate/Support/Facades/Auth.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
* @method static \Illuminate\Auth\SessionGuard setRequest(\Symfony\Component\HttpFoundation\Request $request)
5757
* @method static \Illuminate\Support\Timebox getTimebox()
5858
* @method static \Illuminate\Contracts\Auth\Authenticatable authenticate()
59-
* @method static void forgetUser()
6059
* @method static \Illuminate\Contracts\Auth\UserProvider getProvider()
6160
* @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider)
6261
* @method static void macro(string $name, object|callable $macro)

0 commit comments

Comments
 (0)