@@ -53,8 +53,8 @@ |
||
| 53 | 53 | |
| 54 | 54 | $claims = array_diff_key($payload, $defaults); |
| 55 | 55 | |
| 56 | - $expireAt = new DateTimeImmutable('@'.$payload['exp']); |
|
| 57 | - $issuedAt = new DateTimeImmutable('@'.$payload['iat']); |
|
| 56 | + $expireAt = new DateTimeImmutable('@' . $payload['exp']); |
|
| 57 | + $issuedAt = new DateTimeImmutable('@' . $payload['iat']); |
|
| 58 | 58 | |
| 59 | 59 | return new WebToken($payload['sub'], $issuedAt, $expireAt, $claims); |
| 60 | 60 | } |