Skip to content

Commit 9f017ca

Browse files
gpetrarolijaviereguiluz
authored andcommitted
Update migration.rst
1 parent 6bd5c52 commit 9f017ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ somewhat like this::
341341
}
342342

343343

344-
public static function handleRequest(Request $request, Response $response, string $publicDirectory): ?string
344+
public static function handleRequest(Request $request, Response $response, string $publicDirectory): void
345345
{
346346
$legacyScriptFilename = LegacyBridge::getLegacyScript($request);
347347

@@ -461,7 +461,7 @@ which script to call and wrap the output in a response class::
461461
public function loadLegacyScript(string $requestPath, string $legacyScript): StreamedResponse
462462
{
463463
return new StreamedResponse(
464-
function () use ($requestPath, $legacyScript): string {
464+
function () use ($requestPath, $legacyScript): void {
465465
$_SERVER['PHP_SELF'] = $requestPath;
466466
$_SERVER['SCRIPT_NAME'] = $requestPath;
467467
$_SERVER['SCRIPT_FILENAME'] = $legacyScript;

0 commit comments

Comments
 (0)