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()
18
18
19
19
function it_finds_an_http_adapter ()
20
20
{
21
- $ this ->find ()->shouldHaveType ('Http\Adapter\HttpAdapter ' );
21
+ $ this ->find ()->shouldImplement ('Http\Client\HttpClient ' );
22
22
}
23
23
}
Original file line number Diff line number Diff line change 2
2
3
3
// Used for real return type check
4
4
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 {} ' );
7
7
}
8
8
9
9
if (!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 {} ' );
11
11
}
12
12
You can’t perform that action at this time.
0 commit comments