Merge pull request #235 from tompedals/patch-1

Update ScopeStorage::get method signature to match the interface
This commit is contained in:
Alex Bilbie 2014-11-03 06:05:02 -05:00
commit 736a7b95eb

View File

@ -13,7 +13,7 @@ class ScopeStorage extends Adapter implements ScopeInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function get($scope, $grantType = null) public function get($scope, $grantType = null, $clientId = null)
{ {
$result = Capsule::table('oauth_scopes') $result = Capsule::table('oauth_scopes')
->where('id', $scope) ->where('id', $scope)