Code Duplication    Length = 7-8 lines in 2 locations

src/Eccube/Controller/Admin/Store/PluginController.php 1 location

@@ 76-82 (lines=7) @@
73
     * @throws \Doctrine\ORM\NoResultException
74
     * @throws \Doctrine\ORM\NonUniqueResultException
75
     */
76
    public function __construct(PluginRepository $pluginRepository, PluginService $pluginService, BaseInfoRepository $baseInfoRepository, PluginApiService $pluginApiService)
77
    {
78
        $this->pluginRepository = $pluginRepository;
79
        $this->pluginService = $pluginService;
80
        $this->BaseInfo = $baseInfoRepository->get();
81
        $this->pluginApiService = $pluginApiService;
82
    }
83
84
    /**
85
     * インストール済プラグイン画面

src/Eccube/Service/PluginApiService.php 1 location

@@ 71-78 (lines=8) @@
68
     * @throws \Doctrine\ORM\NoResultException
69
     * @throws \Doctrine\ORM\NonUniqueResultException
70
     */
71
    public function __construct(EccubeConfig $eccubeConfig, RequestStack $requestStack, BaseInfoRepository $baseInfoRepository, PluginRepository $pluginRepository, PluginService $pluginService)
72
    {
73
        $this->eccubeConfig = $eccubeConfig;
74
        $this->requestStack = $requestStack;
75
        $this->BaseInfo = $baseInfoRepository->get();
76
        $this->pluginRepository = $pluginRepository;
77
        $this->pluginService = $pluginService;
78
    }
79
80
    /**
81
     * @return mixed