Completed
Pull Request — master (#122)
by Михаил
09:22
created

DummyClient::sendRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace Http\HttplugBundle\ClientFactory;
4
5
use Http\Client\HttpAsyncClient;
6
use Http\Client\HttpClient;
7
use Psr\Http\Message\RequestInterface;
8
9
/**
10
 * This client is used as a placeholder for the dependency injection. It will never be used.
11
 *
12
 * @author Tobias Nyholm <[email protected]>
13
 */
14
class DummyClient implements HttpClient, HttpAsyncClient
15
{
16
    public function sendAsyncRequest(RequestInterface $request)
17
    {
18
    }
19
20
    public function sendRequest(RequestInterface $request)
21
    {
22
    }
23
}
24