From 9700a3a9c934b26064dcaa33c5a4f2f3a071bf0c Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Thu, 18 Feb 2021 21:19:56 +0000 Subject: [PATCH] fix psalm : bool -> int --- model/MailboxHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/MailboxHandler.php b/model/MailboxHandler.php index e55758bc..73be7750 100644 --- a/model/MailboxHandler.php +++ b/model/MailboxHandler.php @@ -12,7 +12,7 @@ class MailboxHandler extends PFAHandler { # init $this->struct, $this->db_table and $this->id_field protected function initStruct() { - $passwordReset = (int) Config::bool('forgotten_user_password_reset') && !Config::read('mailbox_postpassword_script'); + $passwordReset = (int) ( Config::bool('forgotten_user_password_reset') && !Config::read('mailbox_postpassword_script') ); $reset_by_sms = 0; if ($passwordReset && Config::read_string('sms_send_function')) { $reset_by_sms = 1;