Skip to content

Commit afdb820

Browse files
authored
Update README.md
1 parent 6de4be7 commit afdb820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ For more control over your token you can create it fluently instead.
8484
You can use any of the methods provided by the [underlying `Builder` class](https://lcobucci-jwt.readthedocs.io/en/latest/issuing-tokens/), along with a few new ones like `signWith` and `lifetime`.
8585

8686
```php
87-
$token = JWT::setId('my-token-id')
87+
$token = JWT::identifiedBy('my-token-id')
8888
->lifetime(3600)
8989
->signWith('custom-signing-key-with-256-bits')
9090
->issuedBy("my-app")

0 commit comments

Comments
 (0)