We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c7af1d commit df78f27Copy full SHA for df78f27
2 files changed
src/OminityApiClient.php
@@ -18,7 +18,7 @@ class OminityApiClient
18
/**
19
* Version of our client.
20
*/
21
- public const CLIENT_VERSION = "1.3.0";
+ public const CLIENT_VERSION = "1.3.1";
22
23
24
* Endpoint of the remote API.
src/Resources/Commerce/Cart.php
@@ -329,8 +329,8 @@ public function update()
329
return $value !== null;
330
});
331
}, $this->items),
332
- "billingAddress" => $this->billingAddress ?? null,
333
- "shippingAddress" => $this->shippingAddress ?? null,
+ "billingAddress" => $this->billingAddress ?? [],
+ "shippingAddress" => $this->shippingAddress ?? [],
334
"promotionCodes" => $this->promotionCodes ?? [],
335
];
336
0 commit comments