From b780c12a8a08688f2e5a0071f491df0cbe9637fb Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 21 Oct 2023 09:45:16 +0200 Subject: [PATCH] initialize protected callback property with null --- src/Symfony/Component/HttpFoundation/StreamedResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/StreamedResponse.php b/src/Symfony/Component/HttpFoundation/StreamedResponse.php index ea2b73f874ba6..af03835b7f8a6 100644 --- a/src/Symfony/Component/HttpFoundation/StreamedResponse.php +++ b/src/Symfony/Component/HttpFoundation/StreamedResponse.php @@ -26,7 +26,7 @@ */ class StreamedResponse extends Response { - protected \Closure $callback; + protected ?\Closure $callback = null; protected bool $streamed = false; private bool $headersSent = false; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy