Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 355-361 (lines=7) @@
352
    /**
353
     * @Route("/{_admin}/store/plugin/handler_up/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_up")
354
     */
355
    public function handler_up(Application $app, PluginEventHandler $Handler)
356
    {
357
        $repo = $this->pluginEventHandlerRepository;
358
        $repo->upPriority($repo->find($Handler->getId()));
359
360
        return $app->redirect($app->url('admin_store_plugin_handler'));
361
    }
362
363
    /**
364
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
@@ 366-372 (lines=7) @@
363
    /**
364
     * @Route("/{_admin}/store/plugin/handler_down/{id}", requirements={"id" = "\d+"}, name="admin_store_plugin_handler_down")
365
     */
366
    public function handler_down(Application $app, PluginEventHandler $Handler)
367
    {
368
        $repo = $this->pluginEventHandlerRepository;
369
        $repo->upPriority($Handler, false);
370
371
        return $app->redirect($app->url('admin_store_plugin_handler'));
372
    }
373
374
    /**
375
     * プラグインファイルアップロード画面