You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The elseif statement checking if the $grant is an instance of Grant\GrantInterface always returns false since Grant\GrantInterface isn't even available.
Im talking about the following snippet:
} elseif ( ! $grant instanceof Grant\GrantInterface) {
throw new \InvalidArgumentException($grant.' is not an instance of \OAuth2\Client\Grant\GrantInterface');
}
Replacing Grant\GrantInterface with \OAuth2\Client\Grant\GrantInterface resolves the issue.
Is this correct or am I doing something wrong here?
The text was updated successfully, but these errors were encountered:
The elseif statement checking if the $grant is an instance of Grant\GrantInterface always returns false since Grant\GrantInterface isn't even available.
Im talking about the following snippet:
Replacing
Grant\GrantInterface
with\OAuth2\Client\Grant\GrantInterface
resolves the issue.Is this correct or am I doing something wrong here?
The text was updated successfully, but these errors were encountered: