Code Duplication    Length = 7-7 lines in 2 locations

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

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