Passed
Push — master ( 1a484d...7017e3 )
by Anthony
03:02
created
modules/bataille/app/controller/Marche.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
 		}
190 190
 		
191 191
 		/**
192
-		 * @param $date_retour
192
+		 * @param double $date_retour
193 193
 		 * fonction qui place le trajet en retour
194 194
 		 */
195 195
 		private function setTrajetRetour($date_retour) {
Please login to merge, or discard this patch.
modules/bataille/app/controller/Nourriture.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 		}
103 103
 		
104 104
 		/**
105
-		 * @param $nb_heure
105
+		 * @param double $nb_heure
106 106
 		 * @param $nb_unite
107 107
 		 * fonction qui calcule la nourriture consomee en 1h
108 108
 		 * si elle est inférieur à 0 on tue un nombre d'unite defini en fonction de combien le nombre de
Please login to merge, or discard this patch.
modules/bataille/app/controller/GenerationRapport.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -19,6 +19,11 @@
 block discarded – undo
19 19
 		
20 20
 		
21 21
 		//-------------------------- SETTER ----------------------------------------------------------------------------//
22
+
23
+		/**
24
+		 * @param string $titre
25
+		 * @param string $type
26
+		 */
22 27
 		public static function setGenererRapport($titre, $infos, $type) {
23 28
 			$chemin = MODULEROOT."bataille/app/controller/rapports/";
24 29
 			
Please login to merge, or discard this patch.
modules/bataille/app/controller/Points.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 		//-------------------------- SETTER ----------------------------------------------------------------------------//
80 80
 		/**
81 81
 		 * @param $id_base
82
-		 * @param null $type
82
+		 * @param string $type
83 83
 		 * @param null $points
84 84
 		 * @return int|null
85 85
 		 * fonction qui ajoute des points à la base en fonction du type
Please login to merge, or discard this patch.
modules/bataille/app/controller/Ressource.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 		}
72 72
 		
73 73
 		/**
74
-		 * @param $ressource
74
+		 * @param string $ressource
75 75
 		 * @return string
76 76
 		 * fonction qui sert à tester si on a atteint le stockage maximum pour une ressource en particulier
77 77
 		 */
@@ -89,8 +89,7 @@  discard block
 block discarded – undo
89 89
 		}
90 90
 		
91 91
 		/**
92
-		 * @param null $id_base -> sert si definit a recuperer l'id identite de la abse en question
93
-		 * recupere la date de la derniere connexion
92
+		 * @return string|null
94 93
 		 */
95 94
 		private function getLastConnexion() {
96 95
 			$dbc = App::getDb();
@@ -147,9 +146,9 @@  discard block
 block discarded – undo
147 146
 		}
148 147
 
149 148
 		/**
150
-		 * @param $nom_ressource
149
+		 * @param string $nom_ressource
151 150
 		 * @param $ressrouce
152
-		 * @param $diff_temps
151
+		 * @param integer $diff_temps
153 152
 		 * fonction qui ajoute les ressources qu'on a eu dans la base et qui reinitialise la last co a now
154 153
 		 */
155 154
 		private function setAddRessource($nom_ressource, $ressrouce, $diff_temps) {
@@ -182,7 +181,7 @@  discard block
 block discarded – undo
182 181
 		 * @param $fer
183 182
 		 * @param $fuel
184 183
 		 * @param $nourriture
185
-		 * @param $signe -> contient + ou -
184
+		 * @param string $signe -> contient + ou -
186 185
 		 * fonction qui permet de retirer des ressources pour construire des batiment ou creer unités
187 186
 		 */
188 187
 		public function setUpdateRessource($eau, $electricite, $fer, $fuel, $nourriture, $signe) {
Please login to merge, or discard this patch.
modules/bataille/app/controller/MissionsAleatoire.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
 		 * @param $nom_unite
229 229
 		 * @param $type_unite
230 230
 		 * @param null $id_groupe
231
-		 * @return bool
231
+		 * @return false|null
232 232
 		 * fonction sert a lancer une mission
233 233
 		 */
234 234
 		public function setCommencerMission($id_mission, $nombre_unite, $nom_unite, $type_unite, $id_groupe = null) {
Please login to merge, or discard this patch.
modules/bataille/app/controller/RelationFaction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 		/**
61 61
 		 * @param $nom_faction
62 62
 		 * @param $relation
63
-		 * @return bool
63
+		 * @return false|null
64 64
 		 * fonction qui permet d'ajouter une relation
65 65
 		 */
66 66
 		public function setAjouterRelation($nom_faction, $relation) {
Please login to merge, or discard this patch.
modules/bataille/app/controller/PermissionsFaction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 		
68 68
 		/**
69 69
 		 * @param $id_identite
70
-		 * @param $id_faction
70
+		 * @param string $id_faction
71 71
 		 * @return array|string
72 72
 		 * permet de récupérer les permissions d'un membre de la faction
73 73
 		 */
Please login to merge, or discard this patch.
modules/bataille/app/controller/Unite.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 		
24 24
 		//-------------------------- GETTER ----------------------------------------------------------------------------//
25 25
 		/**
26
-		 * @param $caracteristique
26
+		 * @param string $caracteristique
27 27
 		 * @param $force
28 28
 		 * @param $niveau
29 29
 		 * @return float
Please login to merge, or discard this patch.