Passed
Branch master (81f116)
by Petr
03:17
created
Category
php-tests/CommonTestClass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     public function load(string $key)
32 32
     {
33
-        return $this->exists($key) ? $this->data[$key] : null ;
33
+        return $this->exists($key) ? $this->data[$key] : null;
34 34
     }
35 35
 
36 36
     public function save(string $key, $data, ?int $timeout = null): bool
@@ -54,13 +54,13 @@  discard block
 block discarded – undo
54 54
 
55 55
     public function increment(string $key): bool
56 56
     {
57
-        $this->data[$key] = $this->exists($key) ? $this->data[$key] + 1 : 1 ;
57
+        $this->data[$key] = $this->exists($key) ? $this->data[$key] + 1 : 1;
58 58
         return true;
59 59
     }
60 60
 
61 61
     public function decrement(string $key): bool
62 62
     {
63
-        $this->data[$key] = $this->exists($key) ? $this->data[$key] - 1 : 0 ;
63
+        $this->data[$key] = $this->exists($key) ? $this->data[$key] - 1 : 0;
64 64
         return true;
65 65
     }
66 66
 
Please login to merge, or discard this patch.