| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class Calculator |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param array $strings |
||
| 12 | * @return int |
||
| 13 | */ |
||
| 14 | 27 | public static function computeErasingWidths(array $strings): int |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param null|string $in |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | 30 | public static function computeErasingWidth(?string $in): int |
|
| 45 |