From 2d40a3b58c729160b42caac374a44d4561f6e48f Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 15 Aug 2023 16:53:57 +0200 Subject: [PATCH] Mail: Fix `object/string` is in `isset()` not nullable error --- library/Reporting/Mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Reporting/Mail.php b/library/Reporting/Mail.php index 0c3af4e3..810b166b 100644 --- a/library/Reporting/Mail.php +++ b/library/Reporting/Mail.php @@ -14,13 +14,13 @@ class Mail /** @var string */ public const DEFAULT_SUBJECT = 'Icinga Reporting'; - /** @var string */ + /** @var ?string */ protected $from; /** @var string */ protected $subject = self::DEFAULT_SUBJECT; - /** @var Zend_Mail_Transport_Sendmail */ + /** @var ?Zend_Mail_Transport_Sendmail */ protected $transport; /** @var array */