Made getDefaultResponseType public

This commit is contained in:
Alex Bilbie 2016-01-17 14:08:53 +00:00
parent 6c787c374c
commit 19b12cda8e

View File

@ -97,7 +97,7 @@ class Server implements EmitterAwareInterface
* *
* @return ResponseTypeInterface * @return ResponseTypeInterface
*/ */
protected function getDefaultResponseType() public function getDefaultResponseType()
{ {
if (!$this->defaultResponseType instanceof ResponseTypeInterface) { if (!$this->defaultResponseType instanceof ResponseTypeInterface) {
$this->defaultResponseType = new BearerTokenResponse( $this->defaultResponseType = new BearerTokenResponse(