| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 14 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 33 | 8 | private function normalizeValue(string $value, SimpleXMLElement $propertyXmlElement) | |
| 34 |     { | ||
| 35 | 8 | $value = trim($value); | |
| 36 | |||
| 37 | 8 |         if (is_numeric($value)) { | |
| 38 | 5 | return (int) $value; | |
| 39 | } | ||
| 40 | |||
| 41 | 7 |         if ($this->isArrayValue($propertyXmlElement)) { | |
| 42 | 5 | return $this->normalizeArrayValue($value); | |
| 43 | } | ||
| 44 | |||
| 45 | 6 | return $this->normalizeBoolValue($value); | |
| 46 | } | ||
| 47 | |||
| 86 |