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

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