@@ -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); |
@@ -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 | { |
@@ -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 | { |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace BZIon\Composer; |
| 10 | 10 | |
| 11 | 11 | use BZIon\Config\Configuration; |
| 12 | -use Composer\Script\Event; |
|
| 13 | 12 | use Symfony\Component\Config\Definition\ArrayNode; |
| 14 | 13 | use Symfony\Component\Config\Definition\EnumNode; |
| 15 | 14 | use Symfony\Component\Config\Definition\NodeInterface; |
@@ -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 | { |
@@ -82,6 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | 84 | * {@inheritdoc} |
| 85 | + * @param string $action |
|
| 85 | 86 | */ |
| 86 | 87 | public function callAction($action = null) |
| 87 | 88 | { |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | /** |
| 156 | 156 | * Get the total duration of the database queries in milliseconds |
| 157 | 157 | * |
| 158 | - * @return float |
|
| 158 | + * @return integer |
|
| 159 | 159 | */ |
| 160 | 160 | public function getDuration() |
| 161 | 161 | { |
@@ -298,7 +298,7 @@ |
||
| 298 | 298 | /** |
| 299 | 299 | * Request that a specific model is not returned |
| 300 | 300 | * |
| 301 | - * @param Model|int $model The ID or model you don't want to get |
|
| 301 | + * @param Player $model The ID or model you don't want to get |
|
| 302 | 302 | * @return self |
| 303 | 303 | */ |
| 304 | 304 | public function except($model) |
@@ -160,7 +160,7 @@ |
||
| 160 | 160 | * Get the player list of a team |
| 161 | 161 | * |
| 162 | 162 | * @param FormInterface $team A MatchTeamType form |
| 163 | - * @return array |
|
| 163 | + * @return integer[] |
|
| 164 | 164 | */ |
| 165 | 165 | private function getPlayerList(FormInterface $team) |
| 166 | 166 | { |
@@ -275,7 +275,7 @@ |
||
| 275 | 275 | * @param string $column The name of the column that should be tested |
| 276 | 276 | * @param array|mixed $possible_values List of acceptable values |
| 277 | 277 | * @param bool $negate Whether to search if the value of $column does NOT belong to the $possible_values array |
| 278 | - * @param string|string[] $select The name of the column(s) that the returned array should contain |
|
| 278 | + * @param string $select The name of the column(s) that the returned array should contain |
|
| 279 | 279 | * @param string $additional_query Additional parameters to be passed to the MySQL query (e.g. `WHERE id = 5`) |
| 280 | 280 | * @param string $table The database table which will be used for queries |
| 281 | 281 | * |