Conditions | 3 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | protected function checkBadExpire(int $expire): void |
||
33 | { |
||
34 | if ($expire < ExceptionBoundary::EXPIRE_MIN || $expire > ExceptionBoundary::EXPIRE_MAX) { |
||
35 | throw new BadExpireException( |
||
36 | \sprintf( |
||
37 | "Expire time must be between %d and %d)", |
||
38 | ExceptionBoundary::EXPIRE_MIN, |
||
39 | ExceptionBoundary::EXPIRE_MAX |
||
40 | ) |
||
45 |