aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User/Events/BeforePasswordUpdatedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/User/Events/BeforePasswordUpdatedEvent.php')
-rw-r--r--lib/public/User/Events/BeforePasswordUpdatedEvent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/User/Events/BeforePasswordUpdatedEvent.php b/lib/public/User/Events/BeforePasswordUpdatedEvent.php
index ee228ae01e7..67c01dec259 100644
--- a/lib/public/User/Events/BeforePasswordUpdatedEvent.php
+++ b/lib/public/User/Events/BeforePasswordUpdatedEvent.php
@@ -52,7 +52,7 @@ class BeforePasswordUpdatedEvent extends Event {
*/
public function __construct(IUser $user,
string $password,
- string $recoveryPassword = null) {
+ ?string $recoveryPassword = null) {
parent::__construct();
$this->user = $user;
$this->password = $password;