@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * Checks if a header exists by the given case-insensitive name. |
| 107 | 107 | * |
| 108 | 108 | * @param string $name Case-insensitive header field name. |
| 109 | - * @return bool Returns true if any header names match the given header |
|
| 109 | + * @return boolean|null Returns true if any header names match the given header |
|
| 110 | 110 | * name using a case-insensitive string comparison. Returns false if |
| 111 | 111 | * no matching header name is found in the message. |
| 112 | 112 | */ |
@@ -397,6 +397,9 @@ |
||
| 397 | 397 | // TODO: Implement __toString() method. |
| 398 | 398 | } |
| 399 | 399 | |
| 400 | + /** |
|
| 401 | + * @param string $uri |
|
| 402 | + */ |
|
| 400 | 403 | private function explodeUri($uri) |
| 401 | 404 | { |
| 402 | 405 | echo $uri . "\n"; |
@@ -455,7 +455,7 @@ |
||
| 455 | 455 | * @param \PhpSpec\Wrapper\Collaborator|StreamInterface $new_body |
| 456 | 456 | */ |
| 457 | 457 | function it_retains_its_body_when_returning_a_new_request_with_a_body(StreamInterface $old_body, |
| 458 | - StreamInterface $new_body) |
|
| 458 | + StreamInterface $new_body) |
|
| 459 | 459 | { |
| 460 | 460 | $old_body->getContents()->willReturn("I'm the original stream!"); |
| 461 | 461 | $new_body->getContents()->willReturn("I'm the new stream!"); |