Skip to content

Commit 8a25bce

Browse files
committed
errors fixing
1 parent 9f4b6bf commit 8a25bce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LucaDegasperi/OAuth2Server/Repositories/FluentClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ class FluentClient implements ClientInterface
99

1010
public function getClient($clientId, $clientSecret = null, $redirectUri = null, $grantType = null)
1111
{
12+
$query = null;
13+
1214
if (! is_null($redirectUri) && is_null($clientSecret)) {
1315
$query = DB::table('oauth_clients')
1416
->join('oauth_client_endpoints', 'oauth_clients.id', '=', 'oauth_client_endpoints.client_id')

0 commit comments

Comments
 (0)