Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class JsonRpcCallResponseNormalizer |
||
10 | { |
||
11 | /** @var JsonRpcResponseNormalizer */ |
||
12 | private $responseNormalizer; |
||
13 | |||
14 | /** |
||
15 | * @param JsonRpcResponseNormalizer $responseNormalizer |
||
16 | */ |
||
17 | 50 | public function __construct(JsonRpcResponseNormalizer $responseNormalizer) |
|
18 | { |
||
19 | 50 | $this->responseNormalizer = $responseNormalizer; |
|
20 | } |
||
21 | |||
22 | /** |
||
23 | * @param JsonRpcCallResponse $jsonRpcCallResponse |
||
24 | * |
||
25 | * @return array|null |
||
26 | */ |
||
27 | 50 | public function normalize(JsonRpcCallResponse $jsonRpcCallResponse) : ?array |
|
51 | } |
||
52 | } |
||
53 |