Code Duplication    Length = 19-21 lines in 2 locations

src/Eccube/Controller/Admin/Shipping/EditController.php 1 location

@@ 91-109 (lines=19) @@
88
     * @param ShippingStatusRepository $shippingStatusRepository
89
     * @param SerializerInterface $serializer
90
     */
91
    public function __construct(
92
        MailService $mailService,
93
        OrderItemRepository $orderItemRepository,
94
        CategoryRepository $categoryRepository,
95
        DeliveryRepository $deliveryRepository,
96
        TaxRuleService $taxRuleService,
97
        ShippingRepository $shippingRepository,
98
        ShippingStatusRepository $shippingStatusRepository,
99
        SerializerInterface $serializer
100
    ) {
101
        $this->mailService = $mailService;
102
        $this->orderItemRepository = $orderItemRepository;
103
        $this->categoryRepository = $categoryRepository;
104
        $this->deliveryRepository = $deliveryRepository;
105
        $this->taxRuleService = $taxRuleService;
106
        $this->shippingRepository = $shippingRepository;
107
        $this->shippingStatusRepository = $shippingStatusRepository;
108
        $this->serializer = $serializer;
109
    }
110
111
    /**
112
     * 出荷登録/編集画面.

src/Eccube/Controller/Admin/Order/EditController.php 1 location

@@ 107-127 (lines=21) @@
104
     * @param PurchaseFlow $orderPurchaseFlow
105
     * @param OrderRepository $orderRepository
106
     */
107
    public function __construct(
108
        TaxRuleService $taxRuleService,
109
        DeviceTypeRepository $deviceTypeRepository,
110
        ProductRepository $productRepository,
111
        CategoryRepository $categoryRepository,
112
        CustomerRepository $customerRepository,
113
        SerializerInterface $serializer,
114
        DeliveryRepository $deliveryRepository,
115
        PurchaseFlow $orderPurchaseFlow,
116
        OrderRepository $orderRepository
117
    ) {
118
        $this->taxRuleService = $taxRuleService;
119
        $this->deviceTypeRepository = $deviceTypeRepository;
120
        $this->productRepository = $productRepository;
121
        $this->categoryRepository = $categoryRepository;
122
        $this->customerRepository = $customerRepository;
123
        $this->serializer = $serializer;
124
        $this->deliveryRepository = $deliveryRepository;
125
        $this->purchaseFlow = $orderPurchaseFlow;
126
        $this->orderRepository = $orderRepository;
127
    }
128
129
    /**
130
     * 受注登録/編集画面.