diff --git a/Classes/Mvc/Controller/SpecialResponsesSupport.php b/Classes/Mvc/Controller/SpecialResponsesSupport.php index 17deeca3e..733500c78 100644 --- a/Classes/Mvc/Controller/SpecialResponsesSupport.php +++ b/Classes/Mvc/Controller/SpecialResponsesSupport.php @@ -21,7 +21,7 @@ trait SpecialResponsesSupport * @return never * @throws StopActionException */ - protected function responseThrowsStatus(int $statusCode, string $content = '', ?ActionResponse $response = null): never + final protected function responseThrowsStatus(int $statusCode, string $content = '', ?ActionResponse $response = null): never { $response = $response ?? new ActionResponse; @@ -43,7 +43,7 @@ protected function responseThrowsStatus(int $statusCode, string $content = '', ? * @return ActionResponse * @throws StopActionException */ - protected function responseRedirectsToUri(UriInterface $uri, int $delay = 0, int $statusCode = 303, ?ActionResponse $response = null): ActionResponse + final protected function responseRedirectsToUri(UriInterface $uri, int $delay = 0, int $statusCode = 303, ?ActionResponse $response = null): ActionResponse { $nextResponse = $response !== null ? clone $response : new ActionResponse(); @@ -53,7 +53,7 @@ protected function responseRedirectsToUri(UriInterface $uri, int $delay = 0, int } $nextResponse->setStatusCode($statusCode); - $content = sprintf('
', $delay, $uri); + $content = sprintf('