@@ -208,7 +208,7 @@ |
||
208 | 208 | * Reset the Item |
209 | 209 | */ |
210 | 210 | $item->set(null) |
211 | - ->expiresAfter(abs((int)$this->getConfig()->getDefaultTtl())) |
|
211 | + ->expiresAfter(abs((int) $this->getConfig()->getDefaultTtl())) |
|
212 | 212 | ->setHit(false) |
213 | 213 | ->setTags([]); |
214 | 214 | if ($this->getConfig()->isItemDetailedDate()) { |
@@ -324,7 +324,7 @@ |
||
324 | 324 | ->setSize($rawData['collectionCount']); |
325 | 325 | } |
326 | 326 | |
327 | - public function getConfig() : Config|ConfigurationOption |
|
327 | + public function getConfig() : Config | ConfigurationOption |
|
328 | 328 | { |
329 | 329 | return $this->config; |
330 | 330 | } |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * UNIX ENDPOINT: unix:///tmp/arangodb.sock |
34 | 34 | * Failover ENDPOINTS: ['tcp://127.0.0.1:8529', 'tcp://127.0.0.1:8529'] |
35 | 35 | */ |
36 | - protected string|array $endpoint = 'tcp://127.0.0.1:8529'; |
|
36 | + protected string | array $endpoint = 'tcp://127.0.0.1:8529'; |
|
37 | 37 | |
38 | 38 | protected string $connection = 'Keep-Alive'; // enum{'Close', 'Keep-Alive'} |
39 | 39 | |
@@ -83,12 +83,12 @@ discard block |
||
83 | 83 | return $this; |
84 | 84 | } |
85 | 85 | |
86 | - public function getEndpoint(): string|array |
|
86 | + public function getEndpoint(): string | array |
|
87 | 87 | { |
88 | 88 | return $this->endpoint; |
89 | 89 | } |
90 | 90 | |
91 | - public function setEndpoint(string|array $endpoint): Config |
|
91 | + public function setEndpoint(string | array $endpoint): Config |
|
92 | 92 | { |
93 | 93 | $this->endpoint = $endpoint; |
94 | 94 | return $this; |