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.
2 parents 7c63871 + e9733a2 commit c4ecf99Copy full SHA for c4ecf99
src/ClientFactory/ClientFactory.php
@@ -5,6 +5,7 @@
5
namespace Http\HttplugBundle\ClientFactory;
6
7
use Http\Client\HttpClient;
8
+use Psr\Http\Client\ClientInterface;
9
10
/**
11
* @author Tobias Nyholm <[email protected]>
@@ -14,7 +15,7 @@ interface ClientFactory
14
15
16
* Input an array of configuration to be able to create a HttpClient.
17
*
- * @return HttpClient
18
+ * @return HttpClient|ClientInterface
19
*/
20
public function createClient(array $config = []);
21
}
0 commit comments