Passed
Push — master ( 96c2ab...e26186 )
by Mihail
10:01 queued 08:15
created
Client/FileClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         }
62 62
     }
63 63
 
64
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
64
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
65 65
     {
66 66
         verify_key($key);
67 67
         if (1 > $expiration = $this->timestampWithGlobalTtl($ttl, Cache::DATE_FAR_FAR_AWAY)) {
Please login to merge, or discard this patch.
Client/MemcachedClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         return Memcached::RES_SUCCESS === $this->client->getResultCode() ? $value : $default;
38 38
     }
39 39
 
40
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
40
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
41 41
     {
42 42
         verify_key($key);
43 43
         $expiration = $this->secondsWithGlobalTtl($ttl);
Please login to merge, or discard this patch.
Client/RedisClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             : $default;
39 39
     }
40 40
 
41
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
41
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
42 42
     {
43 43
         verify_key($key);
44 44
         $expiration = $this->secondsWithGlobalTtl($ttl);
Please login to merge, or discard this patch.
Client/MultiplesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         return $this->internalMultiGet($filtered, $default);
28 28
     }
29 29
 
30
-    public function setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool
30
+    public function setMultiple(iterable $values, null | int | \DateInterval $ttl = null): bool
31 31
     {
32 32
         $filtered = filter_keys($values, true);
33 33
         $ttl = normalize_ttl($ttl ?? $this->ttl);
Please login to merge, or discard this patch.
Client/ShmopClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         return unserialize(shmop_read($resource, 0, shmop_size($resource)));
62 62
     }
63 63
 
64
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
64
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
65 65
     {
66 66
         verify_key($key);
67 67
         if (1 > $expiration = $this->timestampWithGlobalTtl($ttl, Cache::DATE_FAR_FAR_AWAY)) {
Please login to merge, or discard this patch.
Client/ClientFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         };
58 58
     }
59 59
 
60
-    private function createMemcachedClient(MemcachedConfiguration|Configuration $conf): Cache
60
+    private function createMemcachedClient(MemcachedConfiguration | Configuration $conf): Cache
61 61
     {
62 62
         $client = new Memcached($conf->get('id'));
63 63
         $client->setOptions($conf->getOptions());
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         return new MemcachedClient($client, $conf->getTtl());
68 68
     }
69 69
 
70
-    private function createRedisClient(RedisConfiguration|Configuration $conf): Cache
70
+    private function createRedisClient(RedisConfiguration | Configuration $conf): Cache
71 71
     {
72 72
         $serializer = $conf->get('serializer');
73 73
         $binary = $conf->get('binary');
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         );
87 87
     }
88 88
 
89
-    private function createPredisClient(PredisConfiguration|Configuration $conf): Cache
89
+    private function createPredisClient(PredisConfiguration | Configuration $conf): Cache
90 90
     {
91 91
         $binary = $conf->get('binary');
92 92
         if (Serializer::JSON === $conf->get('serializer') && $binary) {
Please login to merge, or discard this patch.
Client/MemoryClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         return $this->has($key) ? $this->storage[$key] : $default;
36 36
     }
37 37
 
38
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
38
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
39 39
     {
40 40
         verify_key($key);
41 41
         if (1 > $expiration = $this->timestampWithGlobalTtl($ttl, Cache::DATE_FAR_FAR_AWAY)) {
Please login to merge, or discard this patch.
Client/RedisJsonClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             : $default;
39 39
     }
40 40
 
41
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
41
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
42 42
     {
43 43
         verify_key($key);
44 44
         $expiration = $this->secondsWithGlobalTtl($ttl);
Please login to merge, or discard this patch.
Client/PredisJsonClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             : $default;
39 39
     }
40 40
 
41
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
41
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
42 42
     {
43 43
         verify_key($key);
44 44
         $expiration = $this->secondsWithGlobalTtl($ttl);
Please login to merge, or discard this patch.