@@ -113,7 +113,7 @@ |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * @param $iterator |
| 116 | - * @return mixed |
|
| 116 | + * @return \Iterator |
|
| 117 | 117 | */ |
| 118 | 118 | protected function createFilter($iterator) |
| 119 | 119 | { |
@@ -210,7 +210,7 @@ |
||
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | /** |
| 213 | - * @param $key |
|
| 213 | + * @param string $key |
|
| 214 | 214 | * @param null $value |
| 215 | 215 | * @return null |
| 216 | 216 | */ |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | /** |
| 132 | 132 | * {@inheritdoc} |
| 133 | 133 | * |
| 134 | - * @return int|null The file size in bytes or null if unknown. |
|
| 134 | + * @return integer The file size in bytes or null if unknown. |
|
| 135 | 135 | */ |
| 136 | 136 | public function getSize() |
| 137 | 137 | { |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | /** |
| 153 | 153 | * {@inheritdoc} |
| 154 | 154 | * |
| 155 | - * @return string|null The filename sent by the client or null if none |
|
| 155 | + * @return string The filename sent by the client or null if none |
|
| 156 | 156 | * was provided. |
| 157 | 157 | */ |
| 158 | 158 | public function getClientFilename() |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | /** |
| 164 | 164 | * {@inheritdoc} |
| 165 | 165 | * |
| 166 | - * @return string|null The media type sent by the client or null if none |
|
| 166 | + * @return string The media type sent by the client or null if none |
|
| 167 | 167 | * was provided. |
| 168 | 168 | */ |
| 169 | 169 | public function getClientMediaType() |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | /** |
| 134 | 134 | * {@inheritdoc} |
| 135 | 135 | * |
| 136 | - * @return null|int The URI port. |
|
| 136 | + * @return integer The URI port. |
|
| 137 | 137 | */ |
| 138 | 138 | public function getPort() |
| 139 | 139 | { |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | } |
| 311 | 311 | |
| 312 | 312 | /** |
| 313 | - * @param $uri |
|
| 313 | + * @param string $uri |
|
| 314 | 314 | */ |
| 315 | 315 | protected function format($uri) |
| 316 | 316 | { |
@@ -371,8 +371,8 @@ discard block |
||
| 371 | 371 | } |
| 372 | 372 | |
| 373 | 373 | /** |
| 374 | - * @param $scheme |
|
| 375 | - * @param $port |
|
| 374 | + * @param string $scheme |
|
| 375 | + * @param integer $port |
|
| 376 | 376 | * @return bool |
| 377 | 377 | */ |
| 378 | 378 | protected function isStandardPort($scheme, $port) |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | } |
| 392 | 392 | |
| 393 | 393 | /** |
| 394 | - * @param $key |
|
| 394 | + * @param string $key |
|
| 395 | 395 | * @param $value |
| 396 | 396 | * @return static |
| 397 | 397 | */ |
@@ -39,8 +39,6 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * ServerRequest constructor. |
| 42 | - * @param string $uri |
|
| 43 | - * @param string $method |
|
| 44 | 42 | * @param array $server |
| 45 | 43 | */ |
| 46 | 44 | public function __construct($server = []) |