@@ -252,6 +252,10 @@ |
||
| 252 | 252 | return false; |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | + /** |
|
| 256 | + * @param Request $request |
|
| 257 | + * @param integer $type |
|
| 258 | + */ |
|
| 255 | 259 | private function handleException(Exception $e, $request, $type) |
| 256 | 260 | { |
| 257 | 261 | $event = new GetResponseForExceptionEvent($this, $request, $type, $e); |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | * @param Conversation $conversation |
| 183 | 183 | * @param Player $me |
| 184 | 184 | * |
| 185 | - * @return $this|Form|\Symfony\Component\Form\FormInterface |
|
| 185 | + * @return Form |
|
| 186 | 186 | */ |
| 187 | 187 | private function showInviteForm($conversation, $me) |
| 188 | 188 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * @param bool $self Whether a player is editing their own profile, |
| 20 | 20 | * instead of an admin editing another player's |
| 21 | 21 | * profile |
| 22 | - * @return array |
|
| 22 | + * @return string |
|
| 23 | 23 | */ |
| 24 | 24 | public function editAction(Player $me, Request $request, $self = true) |
| 25 | 25 | { |
@@ -26,6 +26,9 @@ discard block |
||
| 26 | 26 | $this->status = $key['status']; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $name |
|
| 31 | + */ |
|
| 29 | 32 | public static function createKey($name, $owner) |
| 30 | 33 | { |
| 31 | 34 | $key = self::create(array( |
@@ -38,6 +41,9 @@ discard block |
||
| 38 | 41 | return $key; |
| 39 | 42 | } |
| 40 | 43 | |
| 44 | + /** |
|
| 45 | + * @param integer $owner |
|
| 46 | + */ |
|
| 41 | 47 | public static function getKeyByOwner($owner) |
| 42 | 48 | { |
| 43 | 49 | $key = parent::fetchIdFrom($owner, "owner", 'i'); |
@@ -365,7 +365,7 @@ |
||
| 365 | 365 | * |
| 366 | 366 | * @todo |
| 367 | 367 | * |
| 368 | - * @param Player|Team $member The member to remove |
|
| 368 | + * @param Player $member The member to remove |
|
| 369 | 369 | * @return void |
| 370 | 370 | */ |
| 371 | 371 | public function removeMember($member) |
@@ -217,7 +217,6 @@ |
||
| 217 | 217 | /** |
| 218 | 218 | * Get the description of the team |
| 219 | 219 | * |
| 220 | - * @param bool $md false for HTML format, true for the original markdown |
|
| 221 | 220 | * @return string The description of the team |
| 222 | 221 | */ |
| 223 | 222 | public function getDescription() |
@@ -107,7 +107,6 @@ |
||
| 107 | 107 | * Parse the command line options concerning the date of the last update |
| 108 | 108 | * |
| 109 | 109 | * @param string $lastUpdatePath The path to the last update file |
| 110 | - * @param string $date|null The date command line argument |
|
| 111 | 110 | * @param OutputInterface $output The command's output |
| 112 | 111 | * @return void |
| 113 | 112 | */ |
@@ -34,6 +34,9 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | const CAUTION_LINE_LENGTH = 60; |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param Event $event |
|
| 39 | + */ |
|
| 37 | 40 | public function __construct($event) |
| 38 | 41 | { |
| 39 | 42 | $this->event = $event; |
@@ -190,7 +193,7 @@ discard block |
||
| 190 | 193 | /** |
| 191 | 194 | * Write a warning if necessary |
| 192 | 195 | * |
| 193 | - * @param VariableNode $node The node with the warning |
|
| 196 | + * @param NodeInterface $node The node with the warning |
|
| 194 | 197 | */ |
| 195 | 198 | private function writeWarning($node) |
| 196 | 199 | { |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | * Get a redirection response to a list of models |
| 202 | 202 | * |
| 203 | 203 | * @param ModelInterface $model The model to whose list we should redirect |
| 204 | - * @return Response |
|
| 204 | + * @return string |
|
| 205 | 205 | */ |
| 206 | 206 | protected function redirectToList($model) |
| 207 | 207 | { |