Passed
Push — master ( 200816...5d47f4 )
by Anthony
02:59
created
core/admin/inscription/AdminInscription.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
27 27
 		/**
28 28
 		 * vient de la partie admin n du site pages gestion-comptes/creer-utilisateur
29 29
 		 * @param $value
30
-		 * @param null $required
31 30
 		 * @return bool
32 31
 		 */
33 32
 		protected function setVerifAccesAdministration($value) {
@@ -50,7 +49,6 @@  discard block
 block discarded – undo
50 49
 		/**
51 50
 		 * vient de la partie admin du site pages gestion-comptes/creer-utilisateur
52 51
 		 * @param $value
53
-		 * @param null $required
54 52
 		 * @return bool
55 53
 		 */
56 54
 		protected function setVerifListeDroitAcces($value) {
Please login to merge, or discard this patch.
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -36,12 +36,10 @@  discard block
 block discarded – undo
36 36
 			if ($this->getTestInt($value) === true) {
37 37
 				$this->acces_administration = $value;
38 38
 				return true;
39
-			}
40
-			else if ($this->getTestInt($value) === false) {
39
+			} else if ($this->getTestInt($value) === false) {
41 40
 				$this->erreur .= "<li>Le champs accès administration n'est pas au bon format</li>";
42 41
 				return false;
43
-			}
44
-			else {
42
+			} else {
45 43
 				return true;
46 44
 			}
47 45
 
@@ -59,12 +57,10 @@  discard block
 block discarded – undo
59 57
 			if ($this->getTestInt($value) === true) {
60 58
 				$this->id_liste_droit_acces = $value;
61 59
 				return true;
62
-			}
63
-			else if ($this->getTestInt($value) === false) {
60
+			} else if ($this->getTestInt($value) === false) {
64 61
 				$this->erreur .= "<li>Le champs accès administration n'est pas au bon format</li>";
65 62
 				return false;
66
-			}
67
-			else {
63
+			} else {
68 64
 				return true;
69 65
 			}
70 66
 
Please login to merge, or discard this patch.