Skip to content

Commit a88b41e

Browse files
committed
MAGETWO-70277: Fix formatting for USPS Carrier #10062
- Code style fixes
1 parent c60562a commit a88b41e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Usps/Model/Carrier.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ protected function _getXmlQuotes()
411411

412412
if ($this->_isUSCountry($r->getDestCountryId())) {
413413
$xml = $this->_xmlElFactory->create(
414-
415414
['data' => '<?xml version="1.0" encoding="UTF-8"?><RateV4Request/>']
416415
);
417416
$xml->addAttribute('USERID', $r->getUserId());
@@ -459,7 +458,6 @@ protected function _getXmlQuotes()
459458
$api = 'RateV4';
460459
} else {
461460
$xml = $this->_xmlElFactory->create(
462-
463461
['data' => '<?xml version = "1.0" encoding = "UTF-8"?><IntlRateV2Request/>']
464462
);
465463
$xml->addAttribute('USERID', $r->getUserId());
@@ -1944,7 +1942,7 @@ protected function _doShipmentRequest(\Magento\Framework\DataObject $request)
19441942
*/
19451943
public function getContainerTypes(\Magento\Framework\DataObject $params = null)
19461944
{
1947-
if (is_null($params)) {
1945+
if ($params === null) {
19481946
return $this->_getAllowedContainers();
19491947
}
19501948

0 commit comments

Comments
 (0)