Code Duplication    Length = 10-11 lines in 2 locations

src/Queries/ElementQuery.php 1 location

@@ 281-291 (lines=11) @@
278
     *
279
     * @return array
280
     */
281
    protected function normalizeSelect()
282
    {
283
        if ($this->fieldsMustBeSelected()) {
284
            $this->select = array_merge($this->standardFields, $this->select);
285
        }
286
287
        $this->select[] = 'ID';
288
        $this->select[] = 'IBLOCK_ID';
289
290
        return $this->clearSelectArray();
291
    }
292
293
    /**
294
     * Fetch all iblock property codes from database

src/Queries/UserQuery.php 1 location

@@ 209-218 (lines=10) @@
206
     *
207
     * @return array
208
     */
209
    protected function normalizeSelect()
210
    {
211
        if ($this->fieldsMustBeSelected()) {
212
            $this->select = array_merge($this->standardFields, $this->select);
213
        }
214
215
        $this->select[] = 'ID';
216
217
        return $this->clearSelectArray();
218
    }
219
}
220