Updated dependencies, more strict static analysis

This commit is contained in:
Lukáš Unger
2018-02-12 10:19:16 +01:00
parent 7a6c35bc29
commit cd5233392e
9 changed files with 22 additions and 27 deletions

View File

@@ -204,7 +204,7 @@ abstract class AbstractGrant implements GrantTypeInterface
throw OAuthServerException::invalidClient();
} elseif (
is_array($client->getRedirectUri())
&& in_array($redirectUri, $client->getRedirectUri()) === false
&& in_array($redirectUri, $client->getRedirectUri(), true) === false
) {
$this->getEmitter()->emit(new RequestEvent(RequestEvent::CLIENT_AUTHENTICATION_FAILED, $request));
throw OAuthServerException::invalidClient();