Code Duplication    Length = 7-7 lines in 2 locations

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

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