Fixed spelling mistake

This commit is contained in:
Alex Bilbie 2014-09-09 13:36:20 +01:00
parent 67587e450b
commit be51cdf9b1
3 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ abstract class AbstractServer
* @param TokenTypeInterface $tokenType The token type
* @return void
*/
public function setIdType(TokenTypeInterface $tokenType)
public function setTokenType(TokenTypeInterface $tokenType)
{
$this->tokenType = $tokenType;
}

View File

@ -78,7 +78,7 @@ class AuthorizationServer extends AbstractServer
$this->storages = [];
// Set Bearer as the default token type
$this->setIdType(new Bearer);
$this->setTokenType(new Bearer);
parent::__construct();

View File

@ -64,7 +64,7 @@ class ResourceServer extends AbstractServer
$this->setStorage('scope', $scopeStorage);
// Set Bearer as the default token type
$this->setIdType(new Bearer);
$this->setTokenType(new Bearer);
parent::__construct();