Closed sahartak closed 3 years ago
hello, can you submit a pr for this?
This is an issue for us as well.
This. needs to be done pretty much everywhere - Shopify returns a null when it feels like it instead of a "". Address, Order, Customer, everything.
fixed in 3.0.2
This was not fixed in 3.0.2 @slince :
Return value of Slince\Shopify\Model\Orders\Order::getShippingAddress() must be an instance of Slince\Shopify\Model\Orders\Common\OrderAddress, null returned
@dashko fixed
return types generating error for null values, for example in class Slince\Shopify\Model\Orders\Order public function getFulfillmentStatus(): string { return $this->fulfillmentStatus; }
need change return types to public function getFulfillmentStatus(): ?string {}