Skip to content

Commit a01f3ac

Browse files
committed
Revert "AC-15286::Order creation in backoffice with multiple products of which at least one contains custom options, leads to unwanted extra products to get added to the order"
This reverts commit 5b6fec0.
1 parent e19e623 commit a01f3ac

File tree

1 file changed

+2
-5
lines changed
  • app/code/Magento/Sales/Controller/Adminhtml/Order

1 file changed

+2
-5
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
namespace Magento\Sales\Controller\Adminhtml\Order;
99

1010
use Magento\Backend\App\Action;
11-
use Magento\Backend\App\Action\Context;
1211
use Magento\Catalog\Model\Product;
1312
use Magento\Framework\App\ObjectManager;
14-
use Magento\Framework\Escaper;
1513
use Magento\Framework\View\Result\PageFactory;
1614
use Magento\Backend\Model\View\Result\ForwardFactory;
1715
use Magento\Sales\Model\Order\Create\ValidateCoupon;
@@ -64,12 +62,11 @@ abstract class Create extends \Magento\Backend\App\Action
6462
private ProductRepositoryInterface $productRepository;
6563

6664
/**
67-
* @param Context $context
65+
* @param Action\Context $context
6866
* @param \Magento\Catalog\Helper\Product $productHelper
69-
* @param Escaper $escaper
67+
* @param \Magento\Framework\Escaper $escaper
7068
* @param PageFactory $resultPageFactory
7169
* @param ForwardFactory $resultForwardFactory
72-
* @param ProductRepositoryInterface|null $productRepository
7370
* @param ValidateCoupon|null $validateCoupon
7471
*/
7572
public function __construct(

0 commit comments

Comments
 (0)