From be51cdf9b1433684f27e4db435e81de913c5d39e Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 9 Sep 2014 13:36:20 +0100 Subject: [PATCH] Fixed spelling mistake --- src/AbstractServer.php | 2 +- src/AuthorizationServer.php | 2 +- src/ResourceServer.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AbstractServer.php b/src/AbstractServer.php index 884e8be7..9e0f1b98 100644 --- a/src/AbstractServer.php +++ b/src/AbstractServer.php @@ -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; } diff --git a/src/AuthorizationServer.php b/src/AuthorizationServer.php index 502a811d..b0b0bc14 100644 --- a/src/AuthorizationServer.php +++ b/src/AuthorizationServer.php @@ -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(); diff --git a/src/ResourceServer.php b/src/ResourceServer.php index 654dbb41..a169401d 100644 --- a/src/ResourceServer.php +++ b/src/ResourceServer.php @@ -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();