Passed
Push — master ( ddab02...d1d274 )
by Jean-Christophe
11:44 queued 09:57
created
Ajax/semantic/html/content/view/HtmlViewGroups.php 2 patches
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,9 @@
 block discarded – undo
30 30
 			if (isset($extra)) {
31 31
 				$result->addExtraContent($extra);
32 32
 			}
33
-		} else
34
-			$result->addItemContent($value);
33
+		} else {
34
+					$result->addItemContent($value);
35
+		}
35 36
 		return $result;
36 37
 	}
37 38
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 
10 10
 abstract class HtmlViewGroups extends HtmlSemCollection {
11 11
 
12
-	public function __construct($identifier, $uiClass,$items=array()) {
12
+	public function __construct($identifier, $uiClass, $items=array()) {
13 13
 		parent::__construct($identifier, "div", $uiClass);
14 14
 		$this->addItems($items);
15 15
 	}
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 * @param int $wide
42 42
 	 */
43 43
 	public function setWide($wide) {
44
-		$wide=Wide::getConstants()["W" . $wide];
44
+		$wide=Wide::getConstants()["W".$wide];
45 45
 		return $this->addToPropertyCtrl("class", $wide, Wide::getConstants());
46 46
 	}
47 47
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	/**
51 51
 	 * @return HtmlViewGroups
52 52
 	 */
53
-	public function getItem($index){
53
+	public function getItem($index) {
54 54
 		return parent::getItem($index);
55 55
 	}
56 56
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 		return $this->addItem($function($object));
66 66
 	}
67 67
 
68
-	public function run(JsUtils $js){
68
+	public function run(JsUtils $js) {
69 69
 		$result=parent::run($js);
70 70
 		return $result->setItemSelector(".item");
71 71
 	}
Please login to merge, or discard this patch.