| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | |||
| 47 | 4 | $branches = []; |
|
| 48 | |||
| 49 | 4 | foreach ($this->codeMap->getMap($charTree) as $char => $codedChars) { |
|
| 50 | 3 | $branch = $this->applyCurrent($charTree->getBranchesAfterRoot((string)$char)); |
|
| 51 | |||
| 52 | 3 | foreach ($codedChars as $codedChar) { |
|
| 53 | 3 | $branches[] = CharTree::fromString($codedChar, [$branch]); |
|
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 60 |