Passed
Push — master ( 695c9a...8412f6 )
by Jean-Christophe
02:29
created
Ajax/semantic/html/collections/form/HtmlFormField.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,8 +25,9 @@  discard block
 block discarded – undo
25 25
 			State::ERROR,
26 26
 			State::DISABLED
27 27
 		];
28
-		if (isset($label) && $label !== "")
29
-			$this->setLabel($label);
28
+		if (isset($label) && $label !== "") {
29
+					$this->setLabel($label);
30
+		}
30 31
 		$this->setField($field);
31 32
 		$this->_validation = NULL;
32 33
 	}
@@ -58,8 +59,9 @@  discard block
 block discarded – undo
58 59
 	 * @return mixed
59 60
 	 */
60 61
 	public function getLabel() {
61
-		if (\array_key_exists("label", $this->content))
62
-			return $this->content["label"];
62
+		if (\array_key_exists("label", $this->content)) {
63
+					return $this->content["label"];
64
+		}
63 65
 	}
64 66
 
65 67
 	/**
Please login to merge, or discard this patch.