Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 409-415 (lines=7) @@
406
    /**
407
     * @Route("/{_admin}/store/plugin/handler_up/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_up")
408
     */
409
    public function handler_up(Application $app, PluginEventHandler $Handler)
410
    {
411
        $repo = $this->pluginEventHandlerRepository;
412
        $repo->upPriority($repo->find($Handler->getId()));
413
414
        return $app->redirect($app->url('admin_store_plugin_handler'));
415
    }
416
417
    /**
418
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
@@ 420-426 (lines=7) @@
417
    /**
418
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
419
     */
420
    public function handler_down(Application $app, PluginEventHandler $Handler)
421
    {
422
        $repo = $this->pluginEventHandlerRepository;
423
        $repo->upPriority($Handler, false);
424
425
        return $app->redirect($app->url('admin_store_plugin_handler'));
426
    }
427
428
    /**
429
     * プラグインファイルアップロード画面