Skip to content

Commit 0fe830f

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. 948f83d
2 parents b1d7aee + 948f83d commit 0fe830f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\GiftMessage\Block\Cart;
78

89
use Magento\Backend\Block\Template\Context;
910
use Magento\Framework\Json\Encoder;
1011
use Magento\GiftMessage\Model\CompositeConfigProvider;
1112

1213
/**
14+
* Gift options cart block.
15+
*
1316
* @api
1417
* @since 100.0.2
1518
*/
@@ -63,6 +66,8 @@ public function __construct(
6366
}
6467

6568
/**
69+
* Retrieve encoded js layout.
70+
*
6671
* @return string
6772
*/
6873
public function getJsLayout()

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\GiftMessage\Model\Type\Plugin;
78

9+
/**
10+
* Add gift message to quote plugin.
11+
*/
812
class Onepage
913
{
1014
/**
@@ -30,6 +34,8 @@ public function __construct(
3034
}
3135

3236
/**
37+
* Add gift message ot quote.
38+
*
3339
* @param \Magento\Checkout\Model\Type\Onepage $subject
3440
* @param array $result
3541
* @return array

0 commit comments

Comments
 (0)