From f856ca8bef64de3d6732151a74e189c1fdda8bba Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 3 Dec 2019 20:31:19 +0100 Subject: [PATCH] do not use deprecated factory method --- migration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.rst b/migration.rst index 89bfd5c21c1..144fe93d08d 100644 --- a/migration.rst +++ b/migration.rst @@ -433,7 +433,7 @@ which script to call and wrap the output in a response class:: { public function loadLegacyScript(string $requestPath, string $legacyScript) { - return StreamedResponse::create( + return new StreamedResponse( function () use ($requestPath, $legacyScript) { $_SERVER['PHP_SELF'] = $requestPath; $_SERVER['SCRIPT_NAME'] = $requestPath; 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