Passed
Push — master ( 5c767a...47de24 )
by Jean-Christophe
06:45
created
Ajax/semantic/components/validation/FieldValidation.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,12 +62,12 @@
 block discarded – undo
62 62
 				$this->customRules[]=$type;
63 63
 				$this->hasCustomRules=true;
64 64
 			}
65
-		}elseif(\is_array($type)){
65
+		} elseif(\is_array($type)){
66 66
 			$value=JArray::getValue($type, "value", 2);
67 67
 			$prompt=JArray::getValue($type, "prompt", 1);
68 68
 			$type=JArray::getValue($type, "type", 0);
69 69
 			$rule=new Rule($type,$prompt,$value);
70
-		}else {
70
+		} else {
71 71
 			$rule = new Rule($type, $prompt, $value);
72 72
 		}
73 73
 		$this->rules[]=$rule;
Please login to merge, or discard this patch.