Skip to content

Commit 88199b9

Browse files
authored
Merge pull request #321 from Art4/patch-1
Fix typo in mock client docs
2 parents ef10680 + a5efc61 commit 88199b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/mock-client.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ To conditionally return a response when a request is matched::
161161

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

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

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

0 commit comments

Comments
 (0)