Improved typing and phpdoc type annotations

This commit is contained in:
Jan Böhmer 2023-06-18 15:37:42 +02:00
parent 3817ba774d
commit b7c8ca2a48
39 changed files with 189 additions and 129 deletions

View file

@ -468,9 +468,9 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
}
/**
* Gets the datetime when the password reset token expires.
* Gets the datetime when the password reset token expires.
*/
public function getPwResetExpires(): \DateTimeInterface
public function getPwResetExpires(): \DateTimeInterface|null
{
return $this->pw_reset_expires;
}