Skip to content

Commit 8affcd6

Browse files
committed
cleanup adapter vs client wording
1 parent 9b16b3e commit 8affcd6

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/discovery.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/discovery)
88
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/discovery.svg?style=flat-square)](https://packagist.org/packages/php-http/discovery)
99

10-
**Finds installed adapters and message factories.**
10+
**Finds installed Httplug implementations and message factories.**
1111

1212

1313
## Install

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "php-http/discovery",
3-
"description": "Finds installed adapters and message factories",
3+
"description": "Finds installed clients and message factories",
44
"license": "MIT",
5-
"keywords": ["http", "discovery", "adapter", "message", "factory"],
5+
"keywords": ["http", "discovery", "client", "adapter", "message", "factory"],
66
"homepage": "http://php-http.org",
77
"authors": [
88
{

spec/HttpClientDiscoverySpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function it_is_a_class_discovery()
1616
$this->shouldHaveType('Http\Discovery\ClassDiscovery');
1717
}
1818

19-
function it_finds_an_http_adapter()
19+
function it_finds_an_http_client()
2020
{
2121
$this->find()->shouldImplement('Http\Client\HttpClient');
2222
}

src/HttpClientDiscovery.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ class HttpClientDiscovery extends ClassDiscovery
4141
];
4242

4343
/**
44-
* Finds an HTTP Adapter
44+
* Finds an HTTP Client
4545
*
4646
* @return HttpClient
4747
*
48-
* @throws NotFoundException
48+
* @throws NotFoundException If no suitable client is available
4949
*/
5050
public static function find()
5151
{

0 commit comments

Comments
 (0)