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(); }