1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

chore: response can return ResponseInterface

This commit is contained in:
IanM
2024-11-20 13:51:54 +00:00
parent 397642ab5a
commit ce82834a58

View File

@@ -62,7 +62,7 @@ class ResponseFactory
));
}
protected function makeResponse(array $payload): HtmlResponse
protected function makeResponse(array $payload): ResponseInterface
{
$content = sprintf(
'<script>window.close(); window.opener.app.authenticationComplete(%s);</script>',