original_string: public function getFavorites(): UserFavoritesData
      {
          $json = $this->client->performApiCallWithJsonResponse('get', '/user/favorites');
          return ResponseHandler::create($json, ResponseHandler::METHOD_USER_FAVORITES)->handle();
      }
code: public function getFavorites(): UserFavoritesData
      {
          $json = $this->client->performApiCallWithJsonResponse('get', '/user/favorites');
          return ResponseHandler::create($json, ResponseHandler::METHOD_USER_FAVORITES)->handle();
      }
code_tokens: public function getFavorites ( ) : UserFavoritesData { $ json = $ this -> client -> performApiCallWithJsonResponse ( 'get' , '/user/favorites' ) ; return ResponseHandler :: create ( $ json , ResponseHandler :: METHOD_USER_FAVORITES ) -> handle ( ) ; }
docstring: Get user favorites.
  
  @return UserFavoritesData
  @throws RequestFailedException
  @throws UnauthorizedException
  @throws InvalidArgumentException
  @throws InvalidJsonInResponseException
docstring_tokens: Get user favorites .