Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 318-324 (lines=7) @@
315
316
    }
317
318
    public function handler_up(Application $app, $handlerId)
319
    {
320
        $repo = $app['eccube.repository.plugin_event_handler'];
321
        $repo->upPriority($repo->find($handlerId));
322
323
        return $app->redirect($app->url('admin_store_plugin_handler'));
324
    }
325
326
    public function handler_down(Application $app, $handlerId)
327
    {
@@ 326-332 (lines=7) @@
323
        return $app->redirect($app->url('admin_store_plugin_handler'));
324
    }
325
326
    public function handler_down(Application $app, $handlerId)
327
    {
328
        $repo = $app['eccube.repository.plugin_event_handler'];
329
        $repo->upPriority($repo->find($handlerId), false);
330
331
        return $app->redirect($app->url('admin_store_plugin_handler'));
332
    }
333
334
    /**
335
     * プラグインファイルアップロード画面