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.
1 parent 88e1315 commit c53c0afCopy full SHA for c53c0af
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