File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2926,7 +2926,7 @@ public function setShippingAddress(AddressElement|array|null $address): void
2926
2926
2927
2927
// Ensure that address can only belong to this order
2928
2928
if ($ address ->ownerId != $ this ->id ) {
2929
- throw new InvalidArgumentException ('Can not set a shipping address on the order that is is not owned by the order. ' );
2929
+ throw new InvalidArgumentException ('Can not set a shipping address on the order that is not owned by the order. ' );
2930
2930
}
2931
2931
2932
2932
$ this ->shippingAddressId = $ address ->id ;
@@ -3024,7 +3024,7 @@ public function setBillingAddress(AddressElement|array|null $address): void
3024
3024
3025
3025
// Ensure that address can only belong to this order
3026
3026
if ($ address ->ownerId !== $ this ->id ) {
3027
- throw new InvalidArgumentException ('Can not set a billing address on the order that is is not owned by the order. ' );
3027
+ throw new InvalidArgumentException ('Can not set a billing address on the order that is not owned by the order. ' );
3028
3028
}
3029
3029
3030
3030
$ address ->ownerId = $ this ->id ;
You can’t perform that action at this time.
0 commit comments