Code Duplication    Length = 3-3 lines in 2 locations

model/ConceptSearchParameters.php 2 locations

@@ 108-110 (lines=3) @@
105
        }
106
        if ($type === null) {
107
            $type = array('skos:Concept');
108
            if ($this->request->getVocab() && $this->request->getVocab()->getConfig()->getArrayClassURI()) {
109
                array_push($type, $this->request->getVocab()->getConfig()->getArrayClassURI());
110
            }
111
            if ($this->request->getVocab() && $this->request->getVocab()->getConfig()->getGroupClassURI()) {
112
                array_push($type, $this->request->getVocab()->getConfig()->getGroupClassURI());
113
            }
@@ 111-113 (lines=3) @@
108
            if ($this->request->getVocab() && $this->request->getVocab()->getConfig()->getArrayClassURI()) {
109
                array_push($type, $this->request->getVocab()->getConfig()->getArrayClassURI());
110
            }
111
            if ($this->request->getVocab() && $this->request->getVocab()->getConfig()->getGroupClassURI()) {
112
                array_push($type, $this->request->getVocab()->getConfig()->getGroupClassURI());
113
            }
114
        }
115
        return $type;
116
    }