| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 1 | Features | 1 | 
| 1 | <?php | ||
| 43 | 382 | public function getValuePath(bool $escape = false): array | |
| 44 |     { | ||
| 45 | 382 |         if ($escape === false) { | |
| 46 | 380 | return $this->valuePath; | |
| 47 | } | ||
| 48 | |||
| 49 | 314 | return array_map( | |
| 50 | 314 | static fn ($key): string => str_replace(['.', '*'], ['\\' . '.', '\\' . '*'], (string) $key), | |
| 51 | 314 | $this->valuePath | |
| 52 | ); | ||
| 55 |