@@ -185,11 +185,11 @@ discard block |
||
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 |
||
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 |
||
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 |