Skip to content

Commit 229338f

Browse files
committed
docs: fix extra )
1 parent a77d351 commit 229338f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/2 - authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ helper('auth');
3939
auth()->user();
4040

4141
// get the current user's id
42-
auth()->id()
42+
auth()->id();
4343
// or
44-
user_id()
44+
user_id();
4545
```
4646

4747
## Authenticator Responses
@@ -95,7 +95,7 @@ the user that was logged in as `extraInfo()`.
9595
$result = auth()->attempt($credentials);
9696

9797
if($result->isOK()) {
98-
$user = $result->extraInfo());
98+
$user = $result->extraInfo();
9999
}
100100
```
101101

0 commit comments

Comments
 (0)