Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 33.33% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class Pi extends BaseArithmeticFunction |
||
16 | { |
||
17 | 1 | protected function getFunctionName(): string |
|
18 | { |
||
19 | 1 | return 'PI'; |
|
20 | } |
||
21 | |||
22 | protected function getMaxArgumentCount(): int |
||
23 | { |
||
24 | return 0; // PI() takes no arguments |
||
25 | } |
||
26 | |||
27 | protected function getMinArgumentCount(): int |
||
30 | } |
||
31 | } |
||
32 |