Passed
Push — master ( a398b9...be8276 )
by Jean-Christophe
02:48
created
Ajax/semantic/traits/SemanticHtmlCollectionsTrait.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	 * @param int $colCount
23 23
 	 * @return HtmlTable
24 24
 	 */
25
-	public function htmlTable($identifier, $rowCount, $colCount){
25
+	public function htmlTable($identifier, $rowCount, $colCount) {
26 26
 		return $this->addHtmlComponent(new HtmlTable($identifier, $rowCount, $colCount));
27 27
 	}
28 28
 
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
 	 * @param $styles string|array|NULL
34 34
 	 * @return HtmlMessage
35 35
 	 */
36
-	public function htmlMessage($identifier, $content="",$styles=NULL) {
37
-		$msg= $this->addHtmlComponent(new HtmlMessage($identifier, $content));
38
-		if(isset($msg) && $styles!==null)
36
+	public function htmlMessage($identifier, $content="", $styles=NULL) {
37
+		$msg=$this->addHtmlComponent(new HtmlMessage($identifier, $content));
38
+		if (isset($msg) && $styles!==null)
39 39
 			$msg->setStyle($styles);
40 40
 		return $msg;
41 41
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,9 @@
 block discarded – undo
35 35
 	 */
36 36
 	public function htmlMessage($identifier, $content="",$styles=NULL) {
37 37
 		$msg= $this->addHtmlComponent(new HtmlMessage($identifier, $content));
38
-		if(isset($msg) && $styles!==null)
39
-			$msg->setStyle($styles);
38
+		if(isset($msg) && $styles!==null) {
39
+					$msg->setStyle($styles);
40
+		}
40 41
 		return $msg;
41 42
 	}
42 43
 
Please login to merge, or discard this patch.