Skip to content

Commit a5efc61

Browse files
authored
Update mock-client.rst
1 parent ef10680 commit a5efc61

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)