Add more type hints

This commit is contained in:
Alex Cabal 2024-05-16 12:47:01 -05:00
parent 52ce255c05
commit dfb43e0fa4
6 changed files with 17 additions and 9 deletions

View file

@ -10,7 +10,7 @@ if($GLOBALS['User'] !== null){
$email = HttpInput::Str(SESSION, 'email');
$redirect = HttpInput::Str(SESSION, 'redirect') ?? HttpInput::Str(GET, 'redirect');
/** @var ?\Exception $exception */
$exception = $_SESSION['exception'] ?? null;
$passwordRequired = false;