Skip to content

Commit

Permalink
Merge pull request #201 from datamweb/fix-docs-extra-parentheses
Browse files Browse the repository at this point in the history
docs: fix extra `)` in file `2-authentication.md`
  • Loading branch information
MGatner authored Jun 3, 2022
2 parents a77d351 + 258f636 commit 4b8c422
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/2 - authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ helper('auth');
auth()->user();

// get the current user's id
auth()->id()
auth()->id();
// or
user_id()
user_id();
```

## Authenticator Responses
Expand Down Expand Up @@ -94,8 +94,8 @@ the user that was logged in as `extraInfo()`.
```php
$result = auth()->attempt($credentials);

if($result->isOK()) {
$user = $result->extraInfo());
if ($result->isOK()) {
$user = $result->extraInfo();
}
```

Expand Down

0 comments on commit 4b8c422

Please sign in to comment.