Skip to content

Commit

Permalink
Fix static tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalevanec committed Feb 25, 2019
1 parent 15ef6d7 commit 948f83d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/code/Magento/GiftMessage/Block/Cart/GiftOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\GiftMessage\Block\Cart;

use Magento\Backend\Block\Template\Context;
use Magento\Framework\Json\Encoder;
use Magento\GiftMessage\Model\CompositeConfigProvider;

/**
* Gift options cart block.
*
* @api
* @since 100.0.2
*/
Expand Down Expand Up @@ -63,6 +66,8 @@ public function __construct(
}

/**
* Retrieve encoded js layout.
*
* @return string
*/
public function getJsLayout()
Expand Down
6 changes: 6 additions & 0 deletions app/code/Magento/GiftMessage/Model/Type/Plugin/Onepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\GiftMessage\Model\Type\Plugin;

/**
* Add gift message to quote plugin.
*/
class Onepage
{
/**
Expand All @@ -30,6 +34,8 @@ public function __construct(
}

/**
* Add gift message ot quote.
*
* @param \Magento\Checkout\Model\Type\Onepage $subject
* @param array $result
* @return array
Expand Down

0 comments on commit 948f83d

Please sign in to comment.