mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-26 17:23:19 +05:30
Removed unnecessary parameter usage
This commit is contained in:
1 parent
7045785d89
commit
f8b2e80ef3
1 file changed
+1
-1
@@ -204,7 +204,7 @@ class AuthorizationServer implements EmitterAwareInterface
|
||||
protected function getResponseType()
|
||||
{
|
||||
if (!$this->responseType instanceof ResponseTypeInterface) {
|
||||
$this->responseType = new BearerTokenResponse($this->accessTokenRepository);
|
||||
$this->responseType = new BearerTokenResponse();
|
||||
}
|
||||
|
||||
$this->responseType->setPrivateKey($this->privateKey);
|
||||
|
||||
Reference in new issue
Block a user