Code Duplication    Length = 7-7 lines in 2 locations

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

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