Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e930ea9

Browse filesBrowse files
committed
*Response::create() method is deprecated
1 parent 88e1315 commit e930ea9
Copy full SHA for e930ea9

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎migration.rst

Copy file name to clipboardExpand all lines: migration.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.