Skip to content

Commit

Permalink
Uncomment mistakenly commented Plugin constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
lumnn committed Mar 4, 2021
1 parent f5d452c commit 2a08574
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Plugin/AddProductSkuRepositoryPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@

use Magento\Framework\Api\ExtensionAttributesFactory;
use Magento\Quote\Api\CartItemRepositoryInterface;
use Magento\Quote\Api\Data\CartItemExtensionFactory;
use Magento\Quote\Api\Data\CartItemInterface;
use Magento\Sales\Api\Data\OrderItemInterface;

class AddProductSkuRepositoryPlugin
{
const PROP_PRODUCT_SKU = 'product_sku';

// /**
// * @var CartItemExtensionFactory
// */
// private $extensionFactory;
/**
* @var ExtensionAttributesFactory
*/
private $extensionFactory;

// public function __construct(ExtensionAttributesFactory $extensionFactory)
// {
// $this->extensionFactory = $extensionFactory;
// }
public function __construct(ExtensionAttributesFactory $extensionFactory)
{
$this->extensionFactory = $extensionFactory;
}

public function afterGet($subject, object $item)
{
Expand Down

0 comments on commit 2a08574

Please sign in to comment.