$scope of type string is incompatible with the type array expected by parameter $scopes of OAuth2\Credentials\Autho...tionCode::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $requestedScope can also be of type string; however, parameter $requestedScopes of OAuth2\Credentials\Autho...tionCode::__construct() does only seem to accept null|array, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.