amazon-php / sp-api-sdk

Amazon Selling Partner SPI - PHP SDKs
130 stars 53 forks source link

must be of the type string, null #481

Closed jsanchez-inova closed 9 months ago

jsanchez-inova commented 1 year ago

Uncaught TypeError: Return value of AmazonPHP\SellingPartner\Model\Orders\Address::getName() must be of the type string, null returned in /home/jsanchez/www/domains/dev2.cron/bins/cron_scripts/amazon_mws_v2/vendor/amazon-php/sp-api-sdk/src/AmazonPHP/SellingPartner/Model/Orders/Address.php:282

jasonhebert commented 9 months ago

This was fixed with version 5.0.7 where the AmazonPHP/SellingPartner/Model/Orders/Address::getName() method return type was made nullable.