Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
34 | private function process(XMLReader $xml): void |
||
35 | { |
||
36 | match ($xml->name) { |
||
37 | self::INDEX => $this->currentIndex++, |
||
38 | self::VALUE => $this->values[$this->currentIndex][] = trim(string: strtr($xml->readString(), ["\u{a0}" => ' ']), characters: ' '), |
||
39 | default => null, |
||
40 | }; |
||
43 |