@@ -150,7 +150,7 @@ |
||
| 150 | 150 | * |
| 151 | 151 | * @return CookieInterface |
| 152 | 152 | */ |
| 153 | - public function withExpires(int|string|DateTimeInterface|null $expire = null): self; |
|
| 153 | + public function withExpires(int | string | DateTimeInterface | null $expire = null): self; |
|
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | 156 | * Return the domain of the cookie |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | public function __construct( |
| 130 | 130 | string $name, |
| 131 | 131 | string $value = '', |
| 132 | - int|string|DateTimeInterface|null $expire = null, |
|
| 132 | + int | string | DateTimeInterface | null $expire = null, |
|
| 133 | 133 | ?string $domain = null, |
| 134 | 134 | ?string $path = '/', |
| 135 | 135 | ?bool $secure = true, |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | /** |
| 224 | 224 | * {@inheritdoc} |
| 225 | 225 | */ |
| 226 | - public function withExpires(int|string|DateTimeInterface|null $expire = null): self |
|
| 226 | + public function withExpires(int | string | DateTimeInterface | null $expire = null): self |
|
| 227 | 227 | { |
| 228 | 228 | if ($expire === $this->expires) { |
| 229 | 229 | return $this; |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | * Set the cookie expires |
| 441 | 441 | * @param int|string|DateTimeInterface|null $expire |
| 442 | 442 | */ |
| 443 | - private function setExpires(int|string|DateTimeInterface|null $expire): self |
|
| 443 | + private function setExpires(int | string | DateTimeInterface | null $expire): self |
|
| 444 | 444 | { |
| 445 | 445 | if ($expire === null || (is_string($expire) && empty($expire))) { |
| 446 | 446 | $expire = 0; |