Code Duplication    Length = 7-7 lines in 2 locations

source/DomDynamicSelectByDanielGP.php 2 locations

@@ 60-66 (lines=7) @@
57
        return '';
58
    }
59
60
    private function featureArraySimpleDirect($featArray, $identifier)
61
    {
62
        if (in_array($identifier, $featArray)) {
63
            return ' ' . $identifier . '="' . $identifier . '"';
64
        }
65
        return '';
66
    }
67
68
    private function featureArraySimpleTranslated($featArray, $identifier)
69
    {
@@ 80-86 (lines=7) @@
77
        return '';
78
    }
79
80
    private function featureArrayAssociative($featArray, $identifier)
81
    {
82
        if (in_array($identifier, $featArray)) {
83
            return ' ' . $identifier . '="' . $featArray[$identifier] . '"';
84
        }
85
        return '';
86
    }
87
88
    protected function setArrayToSelectNotReadOnly($aElements, $sDefaultValue, $selectName, $featArray = null)
89
    {