From f363332350268032de76a28d0e56469bb6a49573 Mon Sep 17 00:00:00 2001 From: Joyce Babu Date: Thu, 28 Nov 2024 19:09:02 +0530 Subject: [PATCH] Fix warning on PHP 8.4 --- lib/mail/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mail/Mail.php b/lib/mail/Mail.php index c8511852..3c1f446b 100644 --- a/lib/mail/Mail.php +++ b/lib/mail/Mail.php @@ -101,7 +101,7 @@ public function __construct( $subject = null, $plainTextContent = null, $htmlContent = null, - array $globalSubstitutions = null + ?array $globalSubstitutions = null ) { if (!isset($from) && !isset($to)