Code Duplication    Length = 17-17 lines in 2 locations

src/Eccube/Controller/ShippingMultipleController.php 1 location

@@ 85-101 (lines=17) @@
82
     * @param CartService $cartService,
83
     * @param OrderHelper $orderHelper
84
     */
85
    public function __construct(
86
        PrefRepository $prefRepository,
87
        OrderRepository $orderRepository,
88
        OrderItemTypeRepository $orderItemTypeRepository,
89
        ShoppingService $shoppingService,
90
        CartService $cartService,
91
        OrderHelper $orderHelper,
92
        PurchaseFlow $cartPurchaseFlow
93
    ) {
94
        $this->prefRepository = $prefRepository;
95
        $this->orderRepository = $orderRepository;
96
        $this->orderItemTypeRepository = $orderItemTypeRepository;
97
        $this->shoppingService = $shoppingService;
98
        $this->cartService = $cartService;
99
        $this->orderHelper = $orderHelper;
100
        $this->cartPurchaseFlow = $cartPurchaseFlow;
101
    }
102
103
    /**
104
     * 複数配送処理

src/Eccube/Controller/ShoppingController.php 1 location

@@ 90-106 (lines=17) @@
87
     * @param CustomerAddressRepository $customerAddressRepository
88
     * @param ParameterBag $parameterBag
89
     */
90
    public function __construct(
91
        BaseInfo $BaseInfo,
92
        OrderHelper $orderHelper,
93
        CartService $cartService,
94
        ShoppingService $shoppingService,
95
        CustomerAddressRepository $customerAddressRepository,
96
        OrderRepository $orderRepository,
97
        ParameterBag $parameterBag
98
    ) {
99
        $this->BaseInfo = $BaseInfo;
100
        $this->orderHelper = $orderHelper;
101
        $this->cartService = $cartService;
102
        $this->shoppingService = $shoppingService;
103
        $this->customerAddressRepository = $customerAddressRepository;
104
        $this->orderRepository = $orderRepository;
105
        $this->parameterBag = $parameterBag;
106
    }
107
108
    /**
109
     * 購入画面表示