Merge pull request #876 from steverhoades/fix-example

Fix fatal error in examples caused by ClientRepositoryInterface change
This commit is contained in:
Andrew Millington 2018-03-17 20:43:53 +00:00 committed by GitHub
commit 9fc288ce53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ class ClientRepository implements ClientRepositoryInterface
/**
* {@inheritdoc}
*/
public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null, $mustValidateSecret = true)
public function getClientEntity($clientIdentifier, $grantType = null, $clientSecret = null, $mustValidateSecret = true)
{
$clients = [
'myawesomeapp' => [