Passed
Push — 1.0.0-dev ( 49e148...8c85ef )
by nguereza
02:53
created
core/libraries/FormValidation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
          * @return object the current instance
425 425
          */
426 426
         protected function filterValidationData() {
427
-            foreach ($this->data as $key => $value ) {
427
+            foreach ($this->data as $key => $value) {
428 428
                 if (is_array($value)) {
429 429
                    $this->data[$key] = array_map('trim', $value);
430 430
                 } else {
@@ -1037,7 +1037,7 @@  discard block
 block discarded – undo
1037 1037
                 if (call_user_func_array($paramValue, array($value)) === false) {
1038 1038
                     $this->setFieldErrorWithRequiredCheck($field, $value, $rule, $paramValue);
1039 1039
                 }
1040
-            } else{
1040
+            } else {
1041 1041
                 $this->forceError = true;
1042 1042
                 show_error('The callback validation function/method "' . $paramValue . '" does not exist');
1043 1043
             }
Please login to merge, or discard this patch.