diff --git a/php/src/Controller/DockerController.php b/php/src/Controller/DockerController.php index 73fcb19a..6deb03c6 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -439,7 +439,7 @@ readonly class DockerController { return $nonbufResp; } - private function getAddToStreamingResponseBody(Response $nonbufResp) : ?\Closure { + private function getAddToStreamingResponseBody(Response $nonbufResp) : \Closure { // Create a closure to pass around to the code, which should to the logging (because it e.g. decides // if it'll actually pull an image), but which should not need to know anything about the // wanted markup or formatting.