From 0d173d4c351f87c3b46b7daa55a09ab740784aef Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 4 Feb 2013 17:10:30 +0000 Subject: [PATCH] Renamed methods to prevent ORM conflict --- src/OAuth2/Storage/ClientInterface.php | 2 +- src/OAuth2/Storage/ScopeInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OAuth2/Storage/ClientInterface.php b/src/OAuth2/Storage/ClientInterface.php index bb339ffc..2abee251 100644 --- a/src/OAuth2/Storage/ClientInterface.php +++ b/src/OAuth2/Storage/ClientInterface.php @@ -43,5 +43,5 @@ interface ClientInterface * @param string $redirectUri The client's redirect URI (default = "null") * @return bool|array Returns false if the validation fails, array on success */ - public function get($clientId = null, $clientSecret = null, $redirectUri = null); + public function getClient($clientId = null, $clientSecret = null, $redirectUri = null); } \ No newline at end of file diff --git a/src/OAuth2/Storage/ScopeInterface.php b/src/OAuth2/Storage/ScopeInterface.php index 895cc4e6..8777aee6 100644 --- a/src/OAuth2/Storage/ScopeInterface.php +++ b/src/OAuth2/Storage/ScopeInterface.php @@ -28,5 +28,5 @@ interface ScopeInterface * @param string $scope The scope * @return bool|array If the scope doesn't exist return false */ - public function get($scope); + public function getScope($scope); }