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
13561356 {
13571357 $ old = $ this ->getAddressesCollection ()->getItemById ($ address ->getId ())
13581358 ?? $ this ->getBillingAddress ();
1359- if ($ old != null ) {
1359+ if ($ old !== null ) {
13601360 $ old ->addData ($ address ->getData ());
13611361 } else {
13621362 $ this ->addAddress ($ address ->setAddressType (Address::TYPE_BILLING ));
@@ -1378,7 +1378,7 @@ public function setShippingAddress(\Magento\Quote\Api\Data\AddressInterface $add
13781378 } else {
13791379 $ old = $ this ->getAddressesCollection ()->getItemById ($ address ->getId ())
13801380 ?? $ this ->getShippingAddress ();
1381- if ($ old != null ) {
1381+ if ($ old !== null ) {
13821382 $ old ->addData ($ address ->getData ());
13831383 } else {
13841384 $ this ->addAddress ($ address ->setAddressType (Address::TYPE_SHIPPING ));
You can’t perform that action at this time.
0 commit comments