Passed
Push — v9 ( a8631d...a2e587 )
by Georges
02:11
created
lib/Phpfastcache/Core/Pool/CacheItemPoolTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Arangodb/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Arangodb/Config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.