8000 Merge branch '4.3' into 4.4 · symfony/symfony-docs@f8c75f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit f8c75f7

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: *Response::create() method is deprecated
2 parents f1c443e + 574ef5d commit f8c75f7

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)
0