mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Merge pull request #235 from tompedals/patch-1
Update ScopeStorage::get method signature to match the interface
This commit is contained in:
commit
736a7b95eb
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user