Skip to content

Commit d61c3cf

Browse files
authored
chore: change private to protected, allowing extensibility (#4119)
1 parent a0b9add commit d61c3cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/core/src/Forum/Auth/ResponseFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function make(string $provider, string $identifier, callable $configureRe
6262
));
6363
}
6464

65-
private function makeResponse(array $payload): HtmlResponse
65+
protected function makeResponse(array $payload): HtmlResponse
6666
{
6767
$content = sprintf(
6868
'<script>window.close(); window.opener.app.authenticationComplete(%s);</script>',
@@ -72,7 +72,7 @@ private function makeResponse(array $payload): HtmlResponse
7272
return new HtmlResponse($content);
7373
}
7474

75-
private function makeLoggedInResponse(User $user)
75+
protected function makeLoggedInResponse(User $user)
7676
{
7777
$response = $this->makeResponse(['loggedIn' => true]);
7878

0 commit comments

Comments
 (0)