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