File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ somewhat like this::
341
341
}
342
342
343
343
344
- public static function handleRequest(Request $request, Response $response, string $publicDirectory): ?string
344
+ public static function handleRequest(Request $request, Response $response, string $publicDirectory): void
345
345
{
346
346
$legacyScriptFilename = LegacyBridge::getLegacyScript($request);
347
347
@@ -461,7 +461,7 @@ which script to call and wrap the output in a response class::
461
461
public function loadLegacyScript(string $requestPath, string $legacyScript): StreamedResponse
462
462
{
463
463
return new StreamedResponse(
464
- function () use ($requestPath, $legacyScript): string {
464
+ function () use ($requestPath, $legacyScript): void {
465
465
$_SERVER['PHP_SELF'] = $requestPath;
466
466
$_SERVER['SCRIPT_NAME'] = $requestPath;
467
467
$_SERVER['SCRIPT_FILENAME'] = $legacyScript;
You can’t perform that action at this time.
0 commit comments