mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 07:25:32 +01:00
Improved typing and phpdoc type annotations
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user