Skip to content

Commit 2805393

Browse files
Update discovery.rst to follow php-http/discovery#235
1 parent 2356e9c commit 2805393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discovery.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,14 +438,14 @@ to the Discovery. Let's take a look::
438438

439439
use MyCustomService;
440440
use Http\Mock\Client as MockClient;
441-
use Http\Discovery\HttpClientDiscovery;
441+
use Http\Discovery\Psr18ClientDiscovery;
442442
use Http\Discovery\Strategy\MockClientStrategy;
443443

444444
class MyCustomServiceTest extends TestCase
445445
{
446446
public function setUp()
447447
{
448-
HttpClientDiscovery::prependStrategy(MockClientStrategy::class);
448+
Psr18ClientDiscovery::prependStrategy(MockClientStrategy::class);
449449

450450
$this->service = new MyCustomService;
451451
}

0 commit comments

Comments
 (0)