Skip to content

Commit b1d7aee

Browse files
ENGCOM-4356: Removed unused else block and corrected return types #21405
- Merge Pull Request #21405 from yogeshsuhagiya/magento2:2.3-develop-PR-yogesh-8 - Merged commits: 1. 15ef6d7
2 parents 94383aa + 15ef6d7 commit b1d7aee

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ public function setRequest(RateRequest $request)
363363

364364
if ($request->getDestPostcode()) {
365365
$r->setDestPostal($request->getDestPostcode());
366-
} else {
367366
}
368367

369368
if ($request->getDestCity()) {

app/code/Magento/GiftMessage/Block/Adminhtml/Sales/Order/View/Items.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function getMessage()
171171
/**
172172
* Retrieve save url
173173
*
174-
* @return array
174+
* @return string
175175
* @codeCoverageIgnore
176176
*/
177177
public function getSaveUrl()

app/code/Magento/GiftMessage/Block/Cart/GiftOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getJsLayout()
7676
/**
7777
* Retrieve gift message configuration
7878
*
79-
* @return array
79+
* @return string
8080
*/
8181
public function getGiftOptionsConfigJson()
8282
{

app/code/Magento/GiftMessage/Model/Type/Plugin/Onepage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(
3232
/**
3333
* @param \Magento\Checkout\Model\Type\Onepage $subject
3434
* @param array $result
35-
* @return $this
35+
* @return array
3636
*/
3737
public function afterSaveShippingMethod(
3838
\Magento\Checkout\Model\Type\Onepage $subject,

0 commit comments

Comments
 (0)