Skip to content

Commit fc1027c

Browse files
author
gwharton
committed
Fixed Codacy issues
Fixed Codacy issues
1 parent 7cda07e commit fc1027c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ private function mapCurrencyCode($code)
797797
* @return Result
798798
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
799799
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
800+
* @SuppressWarnings(PHPMD.ElseExpression)
800801
*/
801802
protected function _parseXmlResponse($xmlResponse)
802803
{

app/code/Magento/Ups/Test/Unit/Model/CarrierCollectRatesOptionsTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,9 @@ public function scopeConfigisSetFlag($path)
274274
if (isset($pathMap[$path])) {
275275
if ($pathMap[$path]) {
276276
return(true);
277-
} else {
278-
return(false);
279-
}
277+
}
280278
}
279+
return(false);
281280
}
282281

283282
/**

0 commit comments

Comments
 (0)