@@ -123,6 +123,9 @@ |
||
| 123 | 123 | return $this->data; |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | + /** |
|
| 127 | + * @param string $name |
|
| 128 | + */ |
|
| 126 | 129 | public function remove($name) |
| 127 | 130 | { |
| 128 | 131 | $name = $this->normalizeName($name); |
@@ -130,12 +130,12 @@ |
||
| 130 | 130 | * @param UriInterface $uri The request URI object |
| 131 | 131 | * @param array|null $cookies The request cookies collection |
| 132 | 132 | * @param string $requestMethod The request method |
| 133 | - * @param array $uploadedFiles The request uploadedFiles collection |
|
| 134 | - * @param HeadersInterface $headers The request headers collection |
|
| 133 | + * @param array $uploadFiles The request uploadedFiles collection |
|
| 134 | + * @param Headers $headers The request headers collection |
|
| 135 | 135 | * @param StreamInterface|null $body The request body object |
| 136 | 136 | * @param array $serverVariables The server environment variables |
| 137 | - * @param string $protocolVersion The request version of the protocol |
|
| 138 | 137 | * @param array $attributes The request attributs |
| 138 | + * @param string $protocol |
|
| 139 | 139 | * |
| 140 | 140 | */ |
| 141 | 141 | public function __construct( |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | // \HttpMessage |
| 13 | 13 | use Kambo\HttpMessage\Uri; |
| 14 | 14 | use Kambo\HttpMessage\Message; |
| 15 | -use Kambo\HttpMessage\UploadedFile; |
|
| 16 | 15 | use Kambo\HttpMessage\Headers; |
| 17 | 16 | use Kambo\HttpMessage\Parser\Parser; |
| 18 | 17 | use Kambo\HttpMessage\RequestTrait; |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | * |
| 82 | 82 | * After the stream has been detached, the stream is in an unusable state. |
| 83 | 83 | * |
| 84 | - * @return resource|null Underlying PHP stream, if any |
|
| 84 | + * @return resource Underlying PHP stream, if any |
|
| 85 | 85 | */ |
| 86 | 86 | public function detach() |
| 87 | 87 | { |