Passed
Push — master ( ff2fa9...185692 )
by Anthony
02:37
created
modules/bataille/app/controller/Aide.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@  discard block
 block discarded – undo
43 43
 								$pour_construire[] = unserialize($obj->pour_construire);
44 44
 
45 45
 								$pour_construire = $this->getPourConstruire($pour_construire);
46
-							}
47
-							else {
46
+							} else {
48 47
 								$pour_construire = [];
49 48
 							}
50 49
 
@@ -97,8 +96,7 @@  discard block
 block discarded – undo
97 96
 							"niveau_batiment" => $pour_construire[$i][$j][2]
98 97
 						];
99 98
 					}
100
-				}
101
-				else {
99
+				} else {
102 100
 					$batiment[] =  [
103 101
 						"nom_batiment" => $pour_construire[$i][0][0],
104 102
 						"niveau_batiment" => $pour_construire[$i][0][2]
Please login to merge, or discard this patch.