Passed
Push — master ( ae0cd8...4570a8 )
by Petr
02:19
created
php-src/Storage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     public function get(string $key)
53 53
     {
54 54
         $content = $this->getStorage()->read($key);
55
-        return empty($content) ? null : $content ;
55
+        return empty($content) ? null : $content;
56 56
     }
57 57
 
58 58
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     {
81 81
         // safeadd for multithread at any system
82 82
         if ($this->getStorage()->write($key, $value, $expire)) {
83
-            return ( $value == $this->get($key) );
83
+            return ($value == $this->get($key));
84 84
         }
85 85
         return false;
86 86
     }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         $keysToDelete = [];
163 163
         foreach ($this->getAllKeys() as $memKey) {
164 164
             $find = strpos($memKey, $prefix);
165
-            if ((! $inverse && 0 === $find) || ($inverse && (false === $find || 0 !== $find))) {
165
+            if ((!$inverse && 0 === $find) || ($inverse && (false === $find || 0 !== $find))) {
166 166
                 $keysToDelete[] = $memKey;
167 167
             }
168 168
         }
Please login to merge, or discard this patch.