Code Duplication    Length = 7-7 lines in 2 locations

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

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