Passed
Push — master ( 8a1794...d608f5 )
by Anthony
02:52
created
core/Navigation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
 			if (is_array($query) && (count($query) > 0)) {
66 66
 				foreach ($query as $obj) {
67
-					$sous_menu[] = [$obj->titre, $obj->url, $obj->balise_title,];
67
+					$sous_menu[] = [$obj->titre, $obj->url, $obj->balise_title, ];
68 68
 				}
69 69
 			}
70 70
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
 			if (is_array($query) && (count($query) > 0)) {
87 87
 				foreach ($query as $obj) {
88
-					return [$obj->nom_module,$obj->url];
88
+					return [$obj->nom_module, $obj->url];
89 89
 				}
90 90
 			}
91 91
 		}
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 			$dbc = App::getDb();
103 103
 
104 104
 			if ($afficher != null) {
105
-				$dbc->insert($id, $value_id)->insert("ordre", $this->last_ordre+1)->into("navigation")->set();
105
+				$dbc->insert($id, $value_id)->insert("ordre", $this->last_ordre + 1)->into("navigation")->set();
106 106
 			}
107 107
 		}
108 108
 
Please login to merge, or discard this patch.