Total Complexity | 10 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class Calculator |
||
8 | { |
||
9 | 33 | public static function computeErasingLength(array $strings): int |
|
22 | } |
||
23 | |||
24 | |||
25 | /** |
||
26 | * @param null|string $in |
||
27 | * @return int |
||
28 | */ |
||
29 | 30 | protected static function erasingLen(?string $in): int |
|
41 | } |
||
42 | |||
43 | /** |
||
44 | * @param string $message |
||
45 | * @param null|int $erasingLength |
||
46 | * @return int |
||
47 | */ |
||
48 | 24 | public static function refineErasingLen(string $message, ?int $erasingLength): int |
|
56 |