Skip to content

Commit

Permalink
Merge pull request #321 from Art4/patch-1
Browse files Browse the repository at this point in the history
Fix typo in mock client docs
  • Loading branch information
dbu authored Mar 6, 2024
2 parents ef10680 + a5efc61 commit 88199b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/mock-client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ To conditionally return a response when a request is matched::

// $requestMatcher is an instance of Http\Message\RequestMatcher

$response = $this->createMock(ResponseInterface:class);
$response = $this->createMock(ResponseInterface::class);
$client->on($requestMatcher, $response);

// $request is an instance of Psr\Http\Message\RequestInterface
Expand Down

0 comments on commit 88199b9

Please sign in to comment.