| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 1 | class Numbers { |
|
| 12 | 1 | use \Nette\StaticClass; |
|
| 13 | |||
| 14 | /** |
||
| 15 | * Ensure that a number is within boundaries |
||
| 16 | */ |
||
| 17 | public static function range(int $number, int $min, int $max): int { |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Check whether a number is within boundaries |
||
| 23 | */ |
||
| 24 | public static function isInRange(int $number, int $min, int $max): bool { |
||
| 28 | ?> |