The method getClientScopes() does not exist on rhertogh\Yii2Oauth2Serve...h2ActiveRecordInterface. It seems like you code against a sub-type of said class. However, the method does not exist in rhertogh\Yii2Oauth2Serve...2AuthCodeScopeInterface or rhertogh\Yii2Oauth2Serve...Oauth2AuthCodeInterface or rhertogh\Yii2Oauth2Serve...h2RefreshTokenInterface or rhertogh\Yii2Oauth2Serve...se\Oauth2TokenInterface or rhertogh\Yii2Oauth2Serve...uth2UserClientInterface or rhertogh\Yii2Oauth2Serve...cessTokenScopeInterface or rhertogh\Yii2Oauth2Serve...th2AccessTokenInterface or rhertogh\Yii2Oauth2Serve...\Oauth2EnabledInterface or rhertogh\Yii2Oauth2Serve...serClientScopeInterface or rhertogh\Yii2Oauth2Serve...th2ClientScopeInterface or rhertogh\Yii2Oauth2Serve...ls\Oauth2ScopeInterface or rhertogh\Yii2Oauth2Serve...Oauth2AuthCodeInterface or rhertogh\Yii2Oauth2Serve...h2RefreshTokenInterface or rhertogh\Yii2Oauth2Serve...th2AccessTokenInterface or rhertogh\Yii2Oauth2Serve...uth2UserClientInterface or rhertogh\Yii2Oauth2Serve...serClientScopeInterface. Are you sure you never get one of those?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
This check compares calls to functions or methods with their respective definitions.
If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the
check may pick up the wrong definition and report false positives. One codebase
where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.
The method getIdentifier() does not exist on rhertogh\Yii2Oauth2Serve...h2ActiveRecordInterface. It seems like you code against a sub-type of said class. However, the method does not exist in rhertogh\Yii2Oauth2Serve...2AuthCodeScopeInterface or rhertogh\Yii2Oauth2Serve...se\Oauth2TokenInterface or rhertogh\Yii2Oauth2Serve...uth2UserClientInterface or rhertogh\Yii2Oauth2Serve...cessTokenScopeInterface or rhertogh\Yii2Oauth2Serve...\Oauth2EnabledInterface or rhertogh\Yii2Oauth2Serve...serClientScopeInterface or rhertogh\Yii2Oauth2Serve...th2ClientScopeInterface or rhertogh\Yii2Oauth2Serve...uth2UserClientInterface or rhertogh\Yii2Oauth2Serve...serClientScopeInterface. Are you sure you never get one of those?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation