We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1c443e + 574ef5d commit f8c75f7Copy full SHA for f8c75f7
migration.rst
@@ -433,7 +433,7 @@ which script to call and wrap the output in a response class::
433
{
434
public function loadLegacyScript(string $requestPath, string $legacyScript)
435
436
- return StreamedResponse::create(
+ return new StreamedResponse(
437
function () use ($requestPath, $legacyScript) {
438
$_SERVER['PHP_SELF'] = $requestPath;
439
$_SERVER['SCRIPT_NAME'] = $requestPath;
0 commit comments