mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Removing Yoda condition
Removed Yoda condition from code base
This commit is contained in:
parent
009c109716
commit
62e06b7d3a
@ -225,7 +225,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
|
|||||||
return (
|
return (
|
||||||
array_key_exists('response_type', $request->getQueryParams())
|
array_key_exists('response_type', $request->getQueryParams())
|
||||||
&& $request->getQueryParams()['response_type'] === 'code'
|
&& $request->getQueryParams()['response_type'] === 'code'
|
||||||
&& null !== $this->getClientIdFromRequest($request)
|
&& $this->getClientIdFromRequest($request) !== null
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user