| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | trait BadExpireTrait |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Check for a wrog expire time for a token. |
||
| 24 | * |
||
| 25 | * @param int $expire Expire time in seconds. |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | * |
||
| 29 | * @throws BadExpireException If $expire is less than <code>ExceptionBoundary::EXPIRE_MIN</code> and greater than |
||
| 30 | * <code>ExceptionBoundary::EXPIRE_MAX</code>. |
||
| 31 | */ |
||
| 32 | protected function checkBadExpire(int $expire): void |
||
| 45 |