File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ function it_is_a_class_discovery()
1818
1919 function it_finds_an_http_adapter ()
2020 {
21- $ this ->find ()->shouldHaveType ('Http\Adapter\HttpAdapter ' );
21+ $ this ->find ()->shouldImplement ('Http\Client\HttpClient ' );
2222 }
2323}
Original file line number Diff line number Diff line change 22
33// Used for real return type check
44
5- if (!interface_exists ('Http\Adapter\HttpAdapter ' )) {
6- eval ('namespace Http\Adapter ; interface HttpAdapter {} ' );
5+ if (!interface_exists ('Http\Client\HttpClient ' )) {
6+ eval ('namespace Http\Client ; interface HttpClient {} ' );
77}
88
99if (!class_exists ('Http\Adapter\Guzzle6HttpAdapter ' )) {
10- eval ('namespace Http\Adapter; class Guzzle6HttpAdapter implements HttpAdapter {} ' );
10+ eval ('namespace Http\Adapter; class Guzzle6HttpAdapter implements \Http\Client\HttpClient {} ' );
1111}
1212
You can’t perform that action at this time.
0 commit comments