MarketplaceWebService Error


Who when using the Marketplace Web library for PHP get the following error when using MarketplaceWebService_Model_GetReportListByNextTokenRequest:

Fatal error: Call to undefined method MarketplaceWebService_Model_GetReportListByNextTokenResult::getReportInfo() in xxx

Is the fall for an error in the sample projects from Amazon.

Correct:

$reportInfoList = $getReportListByNextTokenResult->getReportInfoList();

False and published for years Amazon:

$reportInfoList = $getReportListByNextTokenResult->getReportInfo();