Passed
Push — master ( 12c564...fbc502 )
by Petr
08:15
created
php-src/Storage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     public function get(string $key): ?string
61 61
     {
62 62
         $content = $this->getStorage()->read($key);
63
-        return empty($content) ? null : $content ;
63
+        return empty($content) ? null : $content;
64 64
     }
65 65
 
66 66
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         // safeadd for multithread on any system
90 90
         if ($this->getStorage()->write($key, $value, $expire)) {
91
-            return ( $value == $this->get($key) );
91
+            return ($value == $this->get($key));
92 92
         }
93 93
         return false;
94 94
     }
@@ -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.