@@ -286,10 +286,10 @@ abstract public function getBaseAccessTokenUrl(array $params);
286286 /**
287287 * Returns the URL for requesting the resource owner's details.
288288 *
289- * @param AccessTokenInterface $token
289+ * @param AccessToken $token
290290 * @return string
291291 */
292- abstract public function getResourceOwnerDetailsUrl (AccessTokenInterface $ token );
292+ abstract public function getResourceOwnerDetailsUrl (AccessToken $ token );
293293
294294 /**
295295 * Returns a new random string to use as the state parameter in an
@@ -751,18 +751,18 @@ protected function createAccessToken(array $response, AbstractGrant $grant)
751751 * details request.
752752 *
753753 * @param array $response
754- * @param AccessTokenInterface $token
754+ * @param AccessToken $token
755755 * @return ResourceOwnerInterface
756756 */
757- abstract protected function createResourceOwner (array $ response , AccessTokenInterface $ token );
757+ abstract protected function createResourceOwner (array $ response , AccessToken $ token );
758758
759759 /**
760760 * Requests and returns the resource owner of given access token.
761761 *
762762 * @param AccessTokenInterface $token
763763 * @return ResourceOwnerInterface
764764 */
765- public function getResourceOwner (AccessTokenInterface $ token )
765+ public function getResourceOwner (AccessToken $ token )
766766 {
767767 $ response = $ this ->fetchResourceOwnerDetails ($ token );
768768
@@ -772,10 +772,10 @@ public function getResourceOwner(AccessTokenInterface $token)
772772 /**
773773 * Requests resource owner details.
774774 *
775- * @param AccessTokenInterface $token
775+ * @param AccessToken $token
776776 * @return mixed
777777 */
778- protected function fetchResourceOwnerDetails (AccessTokenInterface $ token )
778+ protected function fetchResourceOwnerDetails (AccessToken $ token )
779779 {
780780 $ url = $ this ->getResourceOwnerDetailsUrl ($ token );
781781
0 commit comments