Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | private function printValue($value, Formatter $formatter): string |
||
52 | { |
||
53 | $data = \trim(\var_export($value, true), '\''); |
||
54 | $data = \array_map( |
||
55 | static fn (string $row): string => $formatter->title(' ') . $row, |
||
56 | \explode("\n", $data) |
||
57 | ); |
||
58 | |||
59 | return \ltrim( |
||
60 | \implode("\n", $data) |
||
61 | ); |
||
64 |