Code Duplication    Length = 7-9 lines in 2 locations

typo3/sysext/backend/Classes/Controller/FormSelectTreeAjaxController.php 1 location

@@ 172-178 (lines=7) @@
169
                $treeData = $formData['processedTca']['columns'][$fieldName]['config']['ds']
170
                    ['sheets'][$flexFormSheetName]['ROOT']
171
                    ['el'][$flexFormFieldName]['config']['items'];
172
            } else {
173
                $treeData = $formData['processedTca']['columns'][$fieldName]['config']['ds']
174
                    ['sheets'][$flexFormSheetName]['ROOT']
175
                    ['el'][$flexFormFieldName]
176
                    ['children'][$flexFormContainerIdentifier]
177
                    ['el'][$flexFormContainerFieldName]['config']['items'];
178
            }
179
        } else {
180
            $treeData = $formData['processedTca']['columns'][$fieldName]['config']['items'];
181
        }

typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php 1 location

@@ 711-719 (lines=9) @@
708
                                        ['children'][$containerInstanceName]
709
                                        ['el'][$containerElementName]
710
                                );
711
                            } else {
712
                                unset(
713
                                    $result['processedTca']['columns'][$columnName]['config']['ds']
714
                                        ['sheets'][$sheetName]['ROOT']
715
                                        ['el'][$flexField]
716
                                        ['children'][$containerInstanceName]
717
                                        ['el'][$containerElementName]['displayCond']
718
                                );
719
                            }
720
                        }
721
                    }
722
                }