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:
@@ -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>',
|
||||
|
Reference in New Issue
Block a user