Passed
Push — master ( f1cdd9...404c89 )
by Anthony
02:41
created
core/admin/droitsacces/DroitAcces.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 		public function getSupprimerPage() {
60 60
 			return $this->supprimer_page;
61 61
 		}
62
-		public function getListeDroitsAcces(){
62
+		public function getListeDroitsAcces() {
63 63
 		    return $this->liste_droits_acces;
64 64
 		}
65 65
 
@@ -80,7 +80,9 @@  discard block
 block discarded – undo
80 80
 				->get();
81 81
 
82 82
 			if ((is_array($query)) && (count($query) > 0)) {
83
-				foreach ($query as $obj) $liste_droit_acces[] = $obj->droit_acces;
83
+				foreach ($query as $obj) {
84
+					$liste_droit_acces[] = $obj->droit_acces;
85
+				}
84 86
 			}
85 87
 			
86 88
 			App::setValues(["droit_acces_user" => $liste_droit_acces]);
Please login to merge, or discard this patch.