mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +02:00
chore: response can return ResponseInterface
This commit is contained in:
@@ -62,7 +62,7 @@ class ResponseFactory
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function makeResponse(array $payload): HtmlResponse
|
protected function makeResponse(array $payload): ResponseInterface
|
||||||
{
|
{
|
||||||
$content = sprintf(
|
$content = sprintf(
|
||||||
'<script>window.close(); window.opener.app.authenticationComplete(%s);</script>',
|
'<script>window.close(); window.opener.app.authenticationComplete(%s);</script>',
|
||||||
|
Reference in New Issue
Block a user