From db22673e6cbbc57773767fdea2c798cf2c51d43b Mon Sep 17 00:00:00 2001 From: Danny van Wijk Date: Wed, 29 May 2024 10:24:41 +0200 Subject: [PATCH] Fix getCurrentFullHost return type --- .../MultiDomainBundle/Twig/MultiDomainTwigExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kunstmaan/MultiDomainBundle/Twig/MultiDomainTwigExtension.php b/src/Kunstmaan/MultiDomainBundle/Twig/MultiDomainTwigExtension.php index cd57dd2cad..17fac90699 100644 --- a/src/Kunstmaan/MultiDomainBundle/Twig/MultiDomainTwigExtension.php +++ b/src/Kunstmaan/MultiDomainBundle/Twig/MultiDomainTwigExtension.php @@ -52,7 +52,7 @@ public function getCurrentHost(): string return $this->domainConfiguration->getHost(); } - public function getCurrentFullHost(): array + public function getCurrentFullHost(): ?array { return $this->domainConfiguration->getFullHost(); }