Code Duplication    Length = 7-7 lines in 2 locations

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

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