@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * @param string|null $key |
16 | 16 | * @return array<string,string>|string|null |
17 | 17 | */ |
18 | - public function get(string $key = null): null|array|string |
|
18 | + public function get(string $key = null): null | array | string |
|
19 | 19 | { |
20 | 20 | /** @var string[] $cookie */ |
21 | 21 | $cookie = $this->options->getRequest()->getCookieParams(); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | public function set( |
56 | 56 | string $key, |
57 | 57 | string $value, |
58 | - bool|int|string|\DateTimeInterface $ttl = true, |
|
58 | + bool | int | string | \DateTimeInterface $ttl = true, |
|
59 | 59 | array $addedOptions = [] |
60 | 60 | ): bool { |
61 | 61 | $setParams = $this->getSetParams($key, $value, $ttl, $addedOptions); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | public function setRaw( |
92 | 92 | string $key, |
93 | 93 | string $value, |
94 | - bool|int|string|\DateTimeInterface $ttl = true, |
|
94 | + bool | int | string | \DateTimeInterface $ttl = true, |
|
95 | 95 | array $addedOptions = [] |
96 | 96 | ): bool { |
97 | 97 | $setParams = $this->getSetParams($key, $value, $ttl, $addedOptions); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | private function getSetParams( |
129 | 129 | string $key, |
130 | 130 | string $value, |
131 | - bool|int|string|\DateTimeInterface $ttl, |
|
131 | + bool | int | string | \DateTimeInterface $ttl, |
|
132 | 132 | array $addedOptions = [] |
133 | 133 | ): array { |
134 | 134 | $expires = new Expires($ttl); |