Code Duplication    Length = 7-7 lines in 2 locations

src/Eccube/Controller/Admin/Store/PluginController.php 2 locations

@@ 379-385 (lines=7) @@
376
    /**
377
     * @Route("/{_admin}/store/plugin/handler_up/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_up")
378
     */
379
    public function handler_up(Application $app, PluginEventHandler $Handler)
380
    {
381
        $repo = $this->pluginEventHandlerRepository;
382
        $repo->upPriority($repo->find($Handler->getId()));
383
384
        return $app->redirect($app->url('admin_store_plugin_handler'));
385
    }
386
387
    /**
388
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
@@ 390-396 (lines=7) @@
387
    /**
388
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
389
     */
390
    public function handler_down(Application $app, PluginEventHandler $Handler)
391
    {
392
        $repo = $this->pluginEventHandlerRepository;
393
        $repo->upPriority($Handler, false);
394
395
        return $app->redirect($app->url('admin_store_plugin_handler'));
396
    }
397
398
    /**
399
     * プラグインファイルアップロード画面