Passed
Push — master ( 4d0668...60ad61 )
by Petr
07:54
created
php-tests/CommonTestClass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function load(string $key)
34 34
     {
35
-        return $this->exists($key) ? $this->data[$key] : null ;
35
+        return $this->exists($key) ? $this->data[$key] : null;
36 36
     }
37 37
 
38 38
     public function save(string $key, $data, ?int $timeout = null): bool
@@ -56,13 +56,13 @@  discard block
 block discarded – undo
56 56
 
57 57
     public function increment(string $key): bool
58 58
     {
59
-        $this->data[$key] = $this->exists($key) ? $this->data[$key] + 1 : 1 ;
59
+        $this->data[$key] = $this->exists($key) ? $this->data[$key] + 1 : 1;
60 60
         return true;
61 61
     }
62 62
 
63 63
     public function decrement(string $key): bool
64 64
     {
65
-        $this->data[$key] = $this->exists($key) ? $this->data[$key] - 1 : 0 ;
65
+        $this->data[$key] = $this->exists($key) ? $this->data[$key] - 1 : 0;
66 66
         return true;
67 67
     }
68 68
 
Please login to merge, or discard this patch.
php-src/Cache/Dual.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
     public function get(): string
52 52
     {
53
-        return $this->exists() ? $this->storageCache->get() : '' ;
53
+        return $this->exists() ? $this->storageCache->get() : '';
54 54
     }
55 55
 
56 56
     public function clear(): void
Please login to merge, or discard this patch.
php-src/Cache/Semaphore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
     public function get(): string
62 62
     {
63
-        return $this->exists() ? $this->cache->get() : '' ;
63
+        return $this->exists() ? $this->cache->get() : '';
64 64
     }
65 65
 
66 66
     public function clear(): void
Please login to merge, or discard this patch.