@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | /** |
27 | - * @param $id_faction |
|
27 | + * @param string|null $id_faction |
|
28 | 28 | * @return bool |
29 | 29 | * permet de tester si le joueur est dans la faction affichée |
30 | 30 | */ |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @return mixed |
|
53 | + * @return boolean |
|
54 | 54 | * fonction qui renvoi l'ID de la faction du joueur |
55 | 55 | */ |
56 | 56 | public function getFactionPlayer($id_identite = null) { |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | |
21 | 21 | //-------------------------- GETTER ----------------------------------------------------------------------------// |
22 | - public function getIdFaction(){ |
|
22 | + public function getIdFaction() { |
|
23 | 23 | return $this->id_faction; |
24 | 24 | } |
25 | 25 | |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | |
216 | 216 | if ($permissions_membre == "chef" || in_array("INVITER_MEMBRE", $permissions_membre)) { |
217 | 217 | $id_identite = Bataille::getPlayerExist($pseudo); |
218 | - if ($id_identite== false) { |
|
218 | + if ($id_identite == false) { |
|
219 | 219 | FlashMessage::setFlash("Ce joueur n'existe pas"); |
220 | 220 | return false; |
221 | 221 | } |