File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Quote/Model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1356,7 +1356,7 @@ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $addr
1356
1356
{
1357
1357
$ old = $ this ->getAddressesCollection ()->getItemById ($ address ->getId ())
1358
1358
?? $ this ->getBillingAddress ();
1359
- if ($ old != null ) {
1359
+ if ($ old !== null ) {
1360
1360
$ old ->addData ($ address ->getData ());
1361
1361
} else {
1362
1362
$ this ->addAddress ($ address ->setAddressType (Address::TYPE_BILLING ));
@@ -1378,7 +1378,7 @@ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $add
1378
1378
} else {
1379
1379
$ old = $ this ->getAddressesCollection ()->getItemById ($ address ->getId ())
1380
1380
?? $ this ->getShippingAddress ();
1381
- if ($ old != null ) {
1381
+ if ($ old !== null ) {
1382
1382
$ old ->addData ($ address ->getData ());
1383
1383
} else {
1384
1384
$ this ->addAddress ($ address ->setAddressType (Address::TYPE_SHIPPING ));
You can’t perform that action at this time.
0 commit comments