Code Duplication    Length = 3-3 lines in 2 locations

Controller/AdminBlockController.php 1 location

@@ 114-116 (lines=3) @@
111
        $url = $backToNodeList = false;
112
        $instanceAdmin = $this->admin->getConfigurationPool()->getInstance('alpixel_cms.admin.block');
113
114
        if (null !== $request->get('btn_update_and_list') || null !== $request->get('btn_create_and_list')) {
115
            $backToNodeList = true;
116
        }
117
118
        if (null !== $request->get('btn_create_and_create')) {
119
            $params = [];

Controller/AdminNodeController.php 1 location

@@ 117-119 (lines=3) @@
114
        $url = $backToNodeList = false;
115
        $instanceAdmin = $this->admin->getConfigurationPool()->getInstance('alpixel_cms.admin.node');
116
117
        if (null !== $request->get('btn_update_and_list') || null !== $request->get('btn_create_and_list')) {
118
            $backToNodeList = true;
119
        }
120
121
        if (null !== $request->get('btn_create_and_create')) {
122
            $params = [];