HttpClientExtension::setRetriever()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace whm\Smoke\Extensions\SmokeHttpClient;
4
5
use Ivory\HttpAdapter\HttpAdapterInterface;
6
use whm\Smoke\Extensions\SmokeResponseRetriever\Retriever\Retriever;
7
8
class HttpClientExtension
9
{
10
    /**
11
     * @var Retriever
12
     */
13
    private $retriever;
14
15
    public function init()
16
    {
17
        throw new \RuntimeException('Extension is not ready to use yet.');
18
    }
19
20
    /**
21
     * @Event("Scanner.Init")
22
     */
23
    public function setRetriever(HttpAdapterInterface $httpClient)
0 ignored issues
show
Unused Code introduced by
The parameter $httpClient is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
24
    {
25
26
    }
27
}
28