From ff1b943679244b2cd7748c926202ec8ea5f09792 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Thu, 21 Mar 2024 10:56:27 +0100 Subject: [PATCH] 1024: Fixed initialization error --- .../hoeringsportal_deskpro/src/Form/HearingTicketAddForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/modules/custom/hoeringsportal_deskpro/src/Form/HearingTicketAddForm.php b/web/modules/custom/hoeringsportal_deskpro/src/Form/HearingTicketAddForm.php index a3562d64..e72fcb97 100644 --- a/web/modules/custom/hoeringsportal_deskpro/src/Form/HearingTicketAddForm.php +++ b/web/modules/custom/hoeringsportal_deskpro/src/Form/HearingTicketAddForm.php @@ -40,10 +40,10 @@ public function __construct( */ private function initialize() { $container = \Drupal::getContainer(); - if (NULL === $this->config) { + if (empty($this->config)) { $this->config = $container->get('hoeringsportal_deskpro.config'); } - if (NULL === $this->helper) { + if (empty($this->helper)) { $this->helper = $container->get('hoeringsportal_deskpro.helper'); } }