Skip to content

Commit

Permalink
fix: set microsecond to 0
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Dalcin <[email protected]>
  • Loading branch information
fdalcin authored Jun 27, 2024
1 parent bef0d5f commit f43dda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/Jwt/Builder/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(
public function build(array $headers, array $claims, KeyInterface $key): TokenInterface
{
try {
$now = Carbon::now();
$now = Carbon::now()->setMicrosecond(0);
$config = $this->factory->create($key);
$builder = $config->builder();

Expand Down

0 comments on commit f43dda3

Please sign in to comment.