Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class JsonRpcParamsValidator implements JsonRpcMethodParamsValidatorInterface |
||
15 | { |
||
16 | /** @var ValidatorInterface */ |
||
17 | private $validator; |
||
18 | |||
19 | /** |
||
20 | * @param ValidatorInterface $validator |
||
21 | */ |
||
22 | 3 | public function __construct(ValidatorInterface $validator) |
|
23 | { |
||
24 | 3 | $this->validator = $validator; |
|
25 | 3 | } |
|
26 | |||
27 | 3 | public function validate(JsonRpcRequest $jsonRpcRequest, JsonRpcMethodInterface $method) : array |
|
48 | } |
||
49 | } |
||
50 |