| Conditions | 4 |
| Paths | 6 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | <?php |
||
| 69 | public function __debugInfo() |
||
| 70 | { |
||
| 71 | $m = []; |
||
| 72 | foreach ($this->scriptSections as $segment) { |
||
| 73 | $m[] = ScriptFactory::fromOperations($segment); |
||
| 74 | } |
||
| 75 | |||
| 76 | $path = []; |
||
| 77 | foreach ($this->branch as $flag) { |
||
| 78 | $path[] = $flag ? 'true' : 'false'; |
||
| 79 | } |
||
| 80 | |||
| 81 | return [ |
||
| 82 | 'branch' => implode(", ", $path), |
||
| 83 | 'segments' => $m, |
||
| 84 | ]; |
||
| 85 | } |
||
| 86 | } |
||
| 87 |