(string $token, string $key)
| 53 | } |
| 54 | |
| 55 | function rememberTokenHash(string $token, string $key): string |
| 56 | { |
| 57 | return hash_hmac('sha256', $token, $key); |
| 58 | } |
| 59 | |
| 60 | function failIf(bool $cond, string $message, array &$errors): void |
| 61 | { |
no outgoing calls
no test coverage detected