Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 394-400 (lines=7) @@
391
    /**
392
     * @Route("/{_admin}/store/plugin/handler_up/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_up")
393
     */
394
    public function handler_up(Application $app, PluginEventHandler $Handler)
395
    {
396
        $repo = $this->pluginEventHandlerRepository;
397
        $repo->upPriority($repo->find($Handler->getId()));
398
399
        return $app->redirect($app->url('admin_store_plugin_handler'));
400
    }
401
402
    /**
403
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
@@ 405-411 (lines=7) @@
402
    /**
403
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
404
     */
405
    public function handler_down(Application $app, PluginEventHandler $Handler)
406
    {
407
        $repo = $this->pluginEventHandlerRepository;
408
        $repo->upPriority($Handler, false);
409
410
        return $app->redirect($app->url('admin_store_plugin_handler'));
411
    }
412
413
    /**
414
     * プラグインファイルアップロード画面