We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7cb00 commit 22ad9e3Copy full SHA for 22ad9e3
ClientFactory/MockFactory.php
@@ -2,6 +2,7 @@
2
3
namespace Http\HttplugBundle\ClientFactory;
4
5
+use Http\Client\HttpClient;
6
use Http\Mock\Client;
7
8
/**
@@ -10,14 +11,16 @@
10
11
class MockFactory implements ClientFactory
12
{
13
- * @var Client
14
+ * @var HttpClient
15
*/
16
private $client;
17
18
- * @param Client $client
19
+ * Set the client instance that this factory should return.
20
+ *
21
+ * Note that this can be any client, not only a mock client.
22
- public function setClient(Client $client)
23
+ public function setClient(HttpClient $client)
24
25
$this->client = $client;
26
}
0 commit comments