Skip to content

Commit 4b8c422

Browse files
authored
Merge pull request #201 from datamweb/fix-docs-extra-parentheses
docs: fix extra `)` in file `2-authentication.md`
2 parents a77d351 + 258f636 commit 4b8c422

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/2 - authentication.md

Lines changed: 4 additions & 4 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
@@ -94,8 +94,8 @@ the user that was logged in as `extraInfo()`.
9494
```php
9595
$result = auth()->attempt($credentials);
9696

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

0 commit comments

Comments
 (0)