Completed
Push — master ( 32ad89...fdc0c0 )
by Jean-Christophe
03:20
created
Ajax/JsUtils.php 1 patch
Braces   +11 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,8 +50,9 @@  discard block
 block discarded – undo
50 50
 
51 51
 	protected function _setDi($di) {
52 52
 		$this->_di=$di;
53
-		if ($this->js!=null&&$di!=null)
54
-			$this->js->setDi($di);
53
+		if ($this->js!=null&&$di!=null) {
54
+					$this->js->setDi($di);
55
+		}
55 56
 	}
56 57
 
57 58
 	/**
@@ -1130,12 +1131,14 @@  discard block
 block discarded – undo
1130 1131
 					$result[1]=$cdn;
1131 1132
 					break;
1132 1133
 				case "Ajax\lib\CDNCoreCss":
1133
-					if($cdn->getFramework()==="Bootstrap")
1134
-						$hasBootstrap=true;
1135
-					elseif($cdn->getFramework()==="Semantic")
1136
-						$hasSemantic=true;
1137
-					if($hasSemantic || $hasBootstrap)
1138
-						$result[2]=$cdn;
1134
+					if($cdn->getFramework()==="Bootstrap") {
1135
+											$hasBootstrap=true;
1136
+					} elseif($cdn->getFramework()==="Semantic") {
1137
+											$hasSemantic=true;
1138
+					}
1139
+					if($hasSemantic || $hasBootstrap) {
1140
+											$result[2]=$cdn;
1141
+					}
1139 1142
 					break;
1140 1143
 			}
1141 1144
 		}
Please login to merge, or discard this patch.