Skip to content

Commit 779668c

Browse files
committed
Merge pull request #12 from php-http/rename-http-adapter-to-client
renamed HttpAdapterDiscovery to HttpClientDiscovery
2 parents 4720b9a + 601d4fd commit 779668c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spec/HttpAdapterDiscoverySpec.php renamed to spec/HttpClientDiscoverySpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
use PhpSpec\ObjectBehavior;
66

7-
class HttpAdapterDiscoverySpec extends ObjectBehavior
7+
class HttpClientDiscoverySpec extends ObjectBehavior
88
{
99
function it_is_initializable()
1010
{
11-
$this->shouldHaveType('Http\Discovery\HttpAdapterDiscovery');
11+
$this->shouldHaveType('Http\Discovery\HttpClientDiscovery');
1212
}
1313

1414
function it_is_a_class_discovery()

src/HttpAdapterDiscovery.php renamed to src/HttpClientDiscovery.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111

1212
namespace Http\Discovery;
1313

14-
use Http\Adapter\HttpAdapter;
14+
use Http\Client\HttpClient;
1515

1616
/**
17-
* Finds an HTTP Adapter
17+
* Finds an HTTP Client
1818
*
1919
* @author Márk Sági-Kazár <[email protected]>
2020
*/
21-
class HttpAdapterDiscovery extends ClassDiscovery
21+
class HttpClientDiscovery extends ClassDiscovery
2222
{
2323
/**
24-
* @var HttpAdapter
24+
* @var HttpClient
2525
*/
2626
protected static $cache;
2727

@@ -43,7 +43,7 @@ class HttpAdapterDiscovery extends ClassDiscovery
4343
/**
4444
* Finds an HTTP Adapter
4545
*
46-
* @return HttpAdapter
46+
* @return HttpClient
4747
*
4848
* @throws NotFoundException
4949
*/

0 commit comments

Comments
 (0)