@@ -319,8 +319,8 @@ discard block |
||
| 319 | 319 | * Filter allowable port to minimize risk |
| 320 | 320 | * |
| 321 | 321 | * @access protected |
| 322 | - * @param mixed $port |
|
| 323 | - * @return mixed $port |
|
| 322 | + * @param integer|null $port |
|
| 323 | + * @return null|integer $port |
|
| 324 | 324 | * @throws InvalidArgumentException for incorrect port assigned |
| 325 | 325 | */ |
| 326 | 326 | protected function filterPort($port) |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | * |
| 338 | 338 | * @access protected |
| 339 | 339 | * @param string $path |
| 340 | - * @return rawurlencode of cleared path |
|
| 340 | + * @return string of cleared path |
|
| 341 | 341 | */ |
| 342 | 342 | protected function filterPath($path) |
| 343 | 343 | { |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | * |
| 356 | 356 | * @access protected |
| 357 | 357 | * @param string $query |
| 358 | - * @return rawurlencode of replaced query |
|
| 358 | + * @return string of replaced query |
|
| 359 | 359 | */ |
| 360 | 360 | protected function filterQuery($query) |
| 361 | 361 | { |
@@ -408,7 +408,7 @@ discard block |
||
| 408 | 408 | * get Base Url |
| 409 | 409 | * |
| 410 | 410 | * @access public |
| 411 | - * @return void |
|
| 411 | + * @return string |
|
| 412 | 412 | */ |
| 413 | 413 | public function getBaseUrl() |
| 414 | 414 | { |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | * |
| 431 | 431 | * @access public |
| 432 | 432 | * @static |
| 433 | - * @return Resilient\Http\Uri |
|
| 433 | + * @return Uri |
|
| 434 | 434 | */ |
| 435 | 435 | public static function createFromServer($serv) |
| 436 | 436 | { |
@@ -486,7 +486,7 @@ discard block |
||
| 486 | 486 | * @access public |
| 487 | 487 | * @static |
| 488 | 488 | * @param string $uri |
| 489 | - * @return Resilient\Http\Uri |
|
| 489 | + * @return Uri |
|
| 490 | 490 | */ |
| 491 | 491 | public static function createFromString(string $uri) |
| 492 | 492 | { |