Completed
Push — master ( 54b2f0...ccd642 )
by Gabor
03:11
created
src/WebHemi/Adapter/Data/InMemory/InMemoryAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -185,11 +185,11 @@  discard block
 block discarded – undo
185 185
             switch ($this->getExpressionType($pattern, $dataKey)) {
186 186
                 case self::EXPRESSION_WILDCARD:
187 187
                     $subject = str_replace('%', '.*', $subject);
188
-                    $match = preg_match('/^' . $subject . '$/', $data[$dataKey]);
188
+                    $match = preg_match('/^'.$subject.'$/', $data[$dataKey]);
189 189
                     break;
190 190
 
191 191
                 case self::EXPRESSION_IN_ARRAY:
192
-                    $match = in_array($data[$dataKey], (array)$subject);
192
+                    $match = in_array($data[$dataKey], (array) $subject);
193 193
                     break;
194 194
 
195 195
                 case '<':
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
             }
223 223
         }
224 224
 
225
-        return (bool)$match;
225
+        return (bool) $match;
226 226
     }
227 227
 
228 228
     /**
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
             if (is_numeric($maxKey)) {
293 293
                 $identifier = (int) $maxKey + 1;
294 294
             } else {
295
-                $identifier = $maxKey . '_1';
295
+                $identifier = $maxKey.'_1';
296 296
             }
297 297
         }
298 298
 
Please login to merge, or discard this patch.