Removed unnecessary parameter usage

This commit is contained in:
Alex Bilbie 2016-04-18 12:10:57 +01:00
parent 7045785d89
commit f8b2e80ef3

View File

@ -204,7 +204,7 @@ class AuthorizationServer implements EmitterAwareInterface
protected function getResponseType() protected function getResponseType()
{ {
if (!$this->responseType instanceof ResponseTypeInterface) { if (!$this->responseType instanceof ResponseTypeInterface) {
$this->responseType = new BearerTokenResponse($this->accessTokenRepository); $this->responseType = new BearerTokenResponse();
} }
$this->responseType->setPrivateKey($this->privateKey); $this->responseType->setPrivateKey($this->privateKey);