Skip to content

Commit c53c0af

Browse files
committed
::create() is deprecated
1 parent 88e1315 commit c53c0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ which script to call and wrap the output in a response class::
433433
{
434434
public function loadLegacyScript(string $requestPath, string $legacyScript)
435435
{
436-
return StreamedResponse::create(
436+
return new StreamedResponse(
437437
function () use ($requestPath, $legacyScript) {
438438
$_SERVER['PHP_SELF'] = $requestPath;
439439
$_SERVER['SCRIPT_NAME'] = $requestPath;

0 commit comments

Comments
 (0)