Skip to content

Commit 49f6549

Browse files
authored
Fixed codestyle
1 parent 7107b8d commit 49f6549

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/Magento/OfflineShipping/Model/Carrier/Freeshipping.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ public function collectRates(RateRequest $request)
9797
$method->setCost('0.00');
9898

9999
$result->append($method);
100-
}
101-
elseif ($this->getConfigData('showmethod'))
102-
{
100+
} elseif ($this->getConfigData('showmethod')) {
103101
$error = $this->_rateErrorFactory->create();
104102
$error->setCarrier($this->_code);
105103
$error->setCarrierTitle($this->getConfigData('title'));
@@ -110,7 +108,7 @@ public function collectRates(RateRequest $request)
110108
)
111109
);
112110
return $error;
113-
}
111+
}
114112
return $result;
115113
}
116114

0 commit comments

Comments
 (0)