Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 30, 2020
1 parent 1b63fc5 commit 6a3af6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MockHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function request(string $method, string $url, array $options = []): Respo
}

if (!$response instanceof ResponseInterface) {
throw new TransportException(\sprintf('The response factory passed to MockHttpClient must return/yield an instance of ResponseInterface, "%s" given.', \is_object($response) ? \get_class($response) : \gettype($response)));
throw new TransportException(sprintf('The response factory passed to MockHttpClient must return/yield an instance of ResponseInterface, "%s" given.', \is_object($response) ? \get_class($response) : \gettype($response)));
}

return MockResponse::fromRequest($method, $url, $options, $response);
Expand Down

0 comments on commit 6a3af6c

Please sign in to comment.