From 077618b4ed8d8c91f5bf38849d4743e5d8f0c314 Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Thu, 2 Nov 2023 11:24:36 +0000 Subject: [PATCH] standaloneusers: remove property type declarations to make php7.3 compatible dev/core/4746 --- ext/standaloneusers/Civi/Api4/Action/User/PasswordReset.php | 4 ++-- .../Civi/Api4/Action/User/SendPasswordReset.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standaloneusers/Civi/Api4/Action/User/PasswordReset.php b/ext/standaloneusers/Civi/Api4/Action/User/PasswordReset.php index e02928d0e1..6e71dd1cde 100644 --- a/ext/standaloneusers/Civi/Api4/Action/User/PasswordReset.php +++ b/ext/standaloneusers/Civi/Api4/Action/User/PasswordReset.php @@ -20,7 +20,7 @@ class PasswordReset extends AbstractAction { * @var string * @required */ - protected string $token; + protected $token; /** * New password. @@ -28,7 +28,7 @@ class PasswordReset extends AbstractAction { * @var string * @required */ - protected string $password; + protected $password; public function _run(Result $result) { diff --git a/ext/standaloneusers/Civi/Api4/Action/User/SendPasswordReset.php b/ext/standaloneusers/Civi/Api4/Action/User/SendPasswordReset.php index 101d210675..6205d79078 100644 --- a/ext/standaloneusers/Civi/Api4/Action/User/SendPasswordReset.php +++ b/ext/standaloneusers/Civi/Api4/Action/User/SendPasswordReset.php @@ -30,7 +30,7 @@ class SendPasswordReset extends AbstractAction { * @var string * @default '' */ - protected string $identifier; + protected $identifier; public function _run(Result $result) { $endNoSoonerThan = 0.25 + microtime(TRUE); -- 2.25.1