@@ -16,8 +16,8 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | namespace Teapot; |
| 18 | 18 | |
| 19 | -use Teapot\StatusCodeException\InvalidStatusCodeException; |
|
| 20 | 19 | use Psr\Http\Message\ResponseInterface; |
| 20 | +use Teapot\StatusCodeException\InvalidStatusCodeException; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Interface representing a Value Object of the HTTP Status-Line, as |
@@ -85,8 +85,8 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * Add the status code and reason phrase to a Response. |
| 87 | 87 | * |
| 88 | - * @param Psr\Http\Message\ResponseInterface $response The response |
|
| 89 | - * @return Psr\Http\Message\ResponseInterface |
|
| 88 | + * @param ResponseInterface $response The response |
|
| 89 | + * @return ResponseInterface |
|
| 90 | 90 | */ |
| 91 | 91 | public function response(ResponseInterface $response) |
| 92 | 92 | { |
@@ -162,6 +162,7 @@ discard block |
||
| 162 | 162 | * Set the code. Used in constructor to ensure the code meets the |
| 163 | 163 | * requirements for a status code. |
| 164 | 164 | * |
| 165 | + * @param integer $code |
|
| 165 | 166 | */ |
| 166 | 167 | private function setCode($code) |
| 167 | 168 | { |