@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace spec\Subreality\Dilmun\Anshar\Http; |
| 4 | 4 | |
| 5 | +use PhpSpec\ObjectBehavior; |
|
| 5 | 6 | use Psr\Http\Message\StreamInterface; |
| 6 | 7 | use Psr\Http\Message\UriInterface; |
| 7 | 8 | use Subreality\Dilmun\Anshar\Http\Request; |
| 8 | -use PhpSpec\ObjectBehavior; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Class RequestSpec |
@@ -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!"); |
@@ -1,9 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace spec\Subreality\Dilmun\Anshar\Http; |
| 3 | 3 | |
| 4 | -use Subreality\Dilmun\Anshar\Http\Uri; |
|
| 5 | 4 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 5 | +use Subreality\Dilmun\Anshar\Http\Uri; |
|
| 7 | 6 | |
| 8 | 7 | class UriSpec extends ObjectBehavior |
| 9 | 8 | { |