Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Lines | 10 |
Ratio | 100 % |
Tests | 6 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
58 | 7 | public function apply(RequestBuilder $requestBuilder, $value): void |
|
59 | { |
||
60 | 7 | if ($value === null) { |
|
61 | 2 | return; |
|
62 | } |
||
63 | |||
64 | 5 | foreach ($this->getListValues($value) as $element) { |
|
65 | 5 | $requestBuilder->addQuery($this->name, $this->converter->convert($element), $this->encoded); |
|
66 | } |
||
67 | 5 | } |
|
68 | } |
||
69 |