File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
app/code/Magento/Usps/Model Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,6 @@ protected function _getXmlQuotes()
411
411
412
412
if ($ this ->_isUSCountry ($ r ->getDestCountryId ())) {
413
413
$ xml = $ this ->_xmlElFactory ->create (
414
-
415
414
['data ' => '<?xml version="1.0" encoding="UTF-8"?><RateV4Request/> ' ]
416
415
);
417
416
$ xml ->addAttribute ('USERID ' , $ r ->getUserId ());
@@ -459,7 +458,6 @@ protected function _getXmlQuotes()
459
458
$ api = 'RateV4 ' ;
460
459
} else {
461
460
$ xml = $ this ->_xmlElFactory ->create (
462
-
463
461
['data ' => '<?xml version = "1.0" encoding = "UTF-8"?><IntlRateV2Request/> ' ]
464
462
);
465
463
$ xml ->addAttribute ('USERID ' , $ r ->getUserId ());
@@ -1944,7 +1942,7 @@ protected function _doShipmentRequest(\Magento\Framework\DataObject $request)
1944
1942
*/
1945
1943
public function getContainerTypes (\Magento \Framework \DataObject $ params = null )
1946
1944
{
1947
- if (is_null ( $ params) ) {
1945
+ if ($ params === null ) {
1948
1946
return $ this ->_getAllowedContainers ();
1949
1947
}
1950
1948
You can’t perform that action at this time.
0 commit comments