From d55c5f3f06518573971aef059322caf2c6f67b80 Mon Sep 17 00:00:00 2001 From: Devid Messner Date: Wed, 4 Feb 2026 16:59:25 +0100 Subject: [PATCH] [BUGFIX] Use nullable type hint for htmlResponseCompatibility method in AbstractController solves #19 --- Classes/Controller/AbstractController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/AbstractController.php b/Classes/Controller/AbstractController.php index bb494ec..a5884da 100644 --- a/Classes/Controller/AbstractController.php +++ b/Classes/Controller/AbstractController.php @@ -118,7 +118,7 @@ protected function buildPagination(Query $query, int $currentPage): void * * @param string|null $html */ - protected function htmlResponseCompatibility(string $html = null) + protected function htmlResponseCompatibility(?string $html = null) { return $this->responseFactory->createResponse() ->withHeader('Content-Type', 'text/html; charset=utf-8')