@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | { |
| 270 | 270 | if (!empty($item['args'])) { |
| 271 | 271 | $args = $item['args']; |
| 272 | - $argReplace = array_map(function ($i) { |
|
| 272 | + $argReplace = array_map(function($i) { |
|
| 273 | 273 | return "{\${$i}}"; |
| 274 | 274 | }, array_keys($args)); |
| 275 | 275 | $args[] = count($item['args']); |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | */ |
| 341 | 341 | public function addRuleMessages(array $messages): ValidatorInterface |
| 342 | 342 | { |
| 343 | - array_walk($messages, function (string $message, string $rule) { |
|
| 343 | + array_walk($messages, function(string $message, string $rule) { |
|
| 344 | 344 | $this->addRuleMessage($rule, $message); |
| 345 | 345 | }); |
| 346 | 346 | return $this; |