Code Duplication    Length = 6-6 lines in 3 locations

typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php 3 locations

@@ 790-795 (lines=6) @@
787
                    $result = !$fieldValue;
788
                }
789
                break;
790
            case '>':
791
                if (is_array($fieldValue) && count($fieldValue) <= 1) {
792
                    $fieldValue = array_shift($fieldValue);
793
                }
794
                $result = $fieldValue > $operand;
795
                break;
796
            case '<':
797
                if (is_array($fieldValue) && count($fieldValue) <= 1) {
798
                    $fieldValue = array_shift($fieldValue);
@@ 796-801 (lines=6) @@
793
                }
794
                $result = $fieldValue > $operand;
795
                break;
796
            case '<':
797
                if (is_array($fieldValue) && count($fieldValue) <= 1) {
798
                    $fieldValue = array_shift($fieldValue);
799
                }
800
                $result = $fieldValue < $operand;
801
                break;
802
            case '>=':
803
                if (is_array($fieldValue) && count($fieldValue) <= 1) {
804
                    $fieldValue = array_shift($fieldValue);
@@ 814-819 (lines=6) @@
811
                    $result = $fieldValue >= $operand;
812
                }
813
                break;
814
            case '<=':
815
                if (is_array($fieldValue) && count($fieldValue) <= 1) {
816
                    $fieldValue = array_shift($fieldValue);
817
                }
818
                $result = $fieldValue <= $operand;
819
                break;
820
            case '-':
821
            case '!-':
822
                if (is_array($fieldValue) && count($fieldValue) <= 1) {