Completed
Push — master ( 46d685...09dab6 )
by Alexander
02:42
created
src/Validator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.