| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class ConstantProvider |
||
| 13 | { |
||
| 14 | |||
| 15 | public static function makePi(int $digits): string |
||
|
|
|||
| 16 | { |
||
| 17 | |||
| 18 | // TODO: Implement https://en.wikipedia.org/wiki/Chudnovsky_algorithm |
||
| 19 | |||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param int $digits |
||
| 24 | * @return string |
||
| 25 | * @throws IntegrityConstraint |
||
| 26 | */ |
||
| 27 | public static function makeE(int $digits): string |
||
| 52 | |||
| 53 | } |
||
| 55 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.