Passed
Push — master ( 6630a6...b3ffae )
by Petr
02:36
created
php-src/Storage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $this->checkStorage();
55 55
         $content = $this->storage->/** @scrutinizer ignore-call */read($key);
56
-        return empty($content) ? null : $content ;
56
+        return empty($content) ? null : $content;
57 57
     }
58 58
 
59 59
     /**
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $this->checkStorage();
84 84
         // safeadd for multithread at any system
85 85
         if ($this->storage->/** @scrutinizer ignore-call */write($key, $value, $expire)) {
86
-            return ( $value == $this->get($key) );
86
+            return ($value == $this->get($key));
87 87
         }
88 88
         return false;
89 89
     }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         $keysToDelete = [];
171 171
         foreach ($this->getAllKeys() as $memKey) {
172 172
             $find = strpos($memKey, $prefix);
173
-            if ((! $inverse && 0 === $find) || ($inverse && (false === $find || 0 !== $find))) {
173
+            if ((!$inverse && 0 === $find) || ($inverse && (false === $find || 0 !== $find))) {
174 174
                 $keysToDelete[] = $memKey;
175 175
             }
176 176
         }
Please login to merge, or discard this patch.