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