From 2efe54de1f28a58e811a9ac21457d2f54d1de865 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:39:24 +0200 Subject: [PATCH] QuickBaseForm: Property `$icingaModule` can be null --- library/Businessprocess/Web/Form/QuickBaseForm.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/Businessprocess/Web/Form/QuickBaseForm.php b/library/Businessprocess/Web/Form/QuickBaseForm.php index 3ef7b66..36d134f 100644 --- a/library/Businessprocess/Web/Form/QuickBaseForm.php +++ b/library/Businessprocess/Web/Form/QuickBaseForm.php @@ -13,7 +13,7 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml * The Icinga module this form belongs to. Usually only set if the * form is initialized through the FormLoader * - * @var Module + * @var ?Module */ protected $icingaModule; @@ -123,7 +123,6 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml } if (array_key_exists('icingaModule', $options)) { - /** @var Module icingaModule */ $this->icingaModule = $options['icingaModule']; $this->icingaModuleName = $this->icingaModule->getName(); unset($options['icingaModule']);