@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | public function expiresAt($expires) |
| 81 | 81 | { |
| 82 | - if ($expires instanceof DateTimeInterface && ! $expires instanceof DateTimeImmutable) { |
|
| 82 | + if ($expires instanceof DateTimeInterface && !$expires instanceof DateTimeImmutable) { |
|
| 83 | 83 | $timezone = $expires->getTimezone(); |
| 84 | 84 | $expires = DateTimeImmutable::createFromFormat('U', (string) $expires->getTimestamp(), $timezone); |
| 85 | 85 | $expires->setTimezone($timezone); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | |
| 104 | 104 | $this->expires = new DateTimeImmutable(); |
| 105 | 105 | |
| 106 | - if (! $time instanceof DateInterval) { |
|
| 106 | + if (!$time instanceof DateInterval) { |
|
| 107 | 107 | $time = new DateInterval(sprintf('PT%sS', $time)); |
| 108 | 108 | } |
| 109 | 109 | |