| @@ -59,7 +59,7 @@ discard block | ||
| 59 | 59 | public function get(string $key): ?string | 
| 60 | 60 |      { | 
| 61 | 61 | $content = $this->getStorage()->read($key); | 
| 62 | - return empty($content) ? null : $content ; | |
| 62 | + return empty($content) ? null : $content; | |
| 63 | 63 | } | 
| 64 | 64 | |
| 65 | 65 | /** | 
| @@ -87,7 +87,7 @@ discard block | ||
| 87 | 87 |      { | 
| 88 | 88 | // safeadd for multithread at any system | 
| 89 | 89 |          if ($this->getStorage()->write($key, $value, $expire)) { | 
| 90 | - return ( $value == $this->get($key) ); | |
| 90 | + return ($value == $this->get($key)); | |
| 91 | 91 | } | 
| 92 | 92 | return false; | 
| 93 | 93 | } | 
| @@ -169,7 +169,7 @@ discard block | ||
| 169 | 169 | $keysToDelete = []; | 
| 170 | 170 |          foreach ($this->getAllKeys() as $memKey) { | 
| 171 | 171 | $find = strpos($memKey, $prefix); | 
| 172 | -            if ((! $inverse && 0 === $find) || ($inverse && (false === $find || 0 !== $find))) { | |
| 172 | +            if ((!$inverse && 0 === $find) || ($inverse && (false === $find || 0 !== $find))) { | |
| 173 | 173 | $keysToDelete[] = $memKey; | 
| 174 | 174 | } | 
| 175 | 175 | } |