| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Lines | 10 |
| Ratio | 100 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | 4 | public function apply(RequestBuilder $requestBuilder, $value): void |
|
| 52 | { |
||
| 53 | 4 | if ($value === null) { |
|
| 54 | 1 | return; |
|
| 55 | } |
||
| 56 | |||
| 57 | 3 | foreach ($this->getListValues($value) as $element) { |
|
| 58 | 3 | $requestBuilder->addQueryName($this->converter->convert($element), $this->encoded); |
|
| 59 | } |
||
| 60 | 3 | } |
|
| 61 | } |
||
| 62 |