| @@ -15,7 +15,6 @@ discard block | ||
| 15 | 15 | /** | 
| 16 | 16 | * Retrieves all values defined in the superglobal $_SERVER. | 
| 17 | 17 | * | 
| 18 | - * @param string $value The key's name. | |
| 19 | 18 | * @return string|mixed | 
| 20 | 19 | */ | 
| 21 | 20 | public static function getValues(); | 
| @@ -33,7 +32,6 @@ discard block | ||
| 33 | 32 | * Returns all values from the $_GET superglobal. | 
| 34 | 33 | * Null if none exists. | 
| 35 | 34 | * | 
| 36 | - * @param string $name | |
| 37 | 35 | * @return mixed | 
| 38 | 36 | */ | 
| 39 | 37 | public static function gets(array $values = null); | 
| @@ -194,7 +194,6 @@ discard block | ||
| 194 | 194 | * | 
| 195 | 195 | * @link http://tools.ietf.org/html/rfc7230#section-5.3 (for the various | 
| 196 | 196 | * request-target forms allowed in request messages) | 
| 197 | - * @param mixed $requestTarget | |
| 198 | 197 | * @return static | 
| 199 | 198 | */ | 
| 200 | 199 | public function withRequestTarget($target) | 
| @@ -414,6 +413,9 @@ discard block | ||
| 414 | 413 | } | 
| 415 | 414 | |
| 416 | 415 | |
| 416 | + /** | |
| 417 | + * @param string $method | |
| 418 | + */ | |
| 417 | 419 | protected function fillFields($method) | 
| 418 | 420 |      { | 
| 419 | 421 | $server = new Server; | 
| @@ -16,7 +16,7 @@ discard block | ||
| 16 | 16 | * Retrieves a value defined in the superglobal $_SERVER. | 
| 17 | 17 | * | 
| 18 | 18 | * @param string $value The key's name. | 
| 19 | - * @return string|mixed | |
| 19 | + * @return string | |
| 20 | 20 | */ | 
| 21 | 21 | public static function getValue($value, $default = '') | 
| 22 | 22 |      { | 
| @@ -58,7 +58,6 @@ discard block | ||
| 58 | 58 | * Returns all values from the $_GET superglobal. | 
| 59 | 59 | * Null if none exists. | 
| 60 | 60 | * | 
| 61 | - * @param string $name | |
| 62 | 61 | * @return mixed | 
| 63 | 62 | */ | 
| 64 | 63 | public static function gets(array $values = null) | 
| @@ -95,7 +94,6 @@ discard block | ||
| 95 | 94 | * Returns all values from the $_POST superglobal. | 
| 96 | 95 | * Null if none exists. | 
| 97 | 96 | * | 
| 98 | - * @param string $name | |
| 99 | 97 | * @return mixed | 
| 100 | 98 | */ | 
| 101 | 99 | public static function posts(array $values = null) | 
| @@ -132,7 +130,6 @@ discard block | ||
| 132 | 130 | * Returns all values from the $_FILES superglobal. | 
| 133 | 131 | * Null if none exists. | 
| 134 | 132 | * | 
| 135 | - * @param string $name | |
| 136 | 133 | * @return mixed | 
| 137 | 134 | */ | 
| 138 | 135 | public static function files(array $values = null) |