@@ -471,7 +471,7 @@ |
||
| 471 | 471 | * Set the server address of the server where this match took place |
| 472 | 472 | * |
| 473 | 473 | * @param string|null $server The server hostname |
| 474 | - * @param int|null $port The server port |
|
| 474 | + * @param integer $port The server port |
|
| 475 | 475 | * @return self |
| 476 | 476 | */ |
| 477 | 477 | public function setServerAddress($server = null, $port = 5154) |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace BZIon\Form\Transformer; |
| 4 | 4 | |
| 5 | -use Symfony\Component\Form\DataTransformerInterface; |
|
| 6 | 5 | use Symfony\Component\Form\Exception\TransformationFailedException; |
| 7 | 6 | |
| 8 | 7 | class MatchTeamTransformer extends SingleModelTransformer |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | |
| 380 | 380 | /** |
| 381 | 381 | * Get all of the callsigns a player has used to log in to the website |
| 382 | - * @return string[] An array containing all of the past callsigns recorded for a player |
|
| 382 | + * @return integer[] An array containing all of the past callsigns recorded for a player |
|
| 383 | 383 | */ |
| 384 | 384 | public function getPastCallsigns() |
| 385 | 385 | { |
@@ -871,7 +871,7 @@ discard block |
||
| 871 | 871 | |
| 872 | 872 | /** |
| 873 | 873 | * Get the (victory/total matches) ratio of the player |
| 874 | - * @return float |
|
| 874 | + * @return integer |
|
| 875 | 875 | */ |
| 876 | 876 | public function getMatchWinRatio() |
| 877 | 877 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Find if two objects represent the same model |
| 63 | 63 | * |
| 64 | - * @param object $model The model to compare |
|
| 64 | + * @param null|Model $model The model to compare |
|
| 65 | 65 | * @return bool |
| 66 | 66 | */ |
| 67 | 67 | public function isSameAs($model) |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | * Useful for form validation |
| 169 | 169 | * |
| 170 | 170 | * @param string $property The name of the property to change |
| 171 | - * @param mixed $value The value of the property |
|
| 171 | + * @param string $value The value of the property |
|
| 172 | 172 | * @return self |
| 173 | 173 | */ |
| 174 | 174 | protected function inject($property, $value) |