Code Duplication    Length = 3-5 lines in 2 locations

src/dbQuery.php 2 locations

@@ 322-324 (lines=3) @@
319
                $this->limit = array($globalMatches['limit_start'][0], $globalMatches['limit_end'][0]);
320
            }
321
            // Получим групировку запроса
322
            if (isset($globalMatches['group'])) {
323
                $this->group = explode('_and_', $globalMatches['group'][0]);
324
            }
325
            // Получим имена таблиц для "объединения" в запросе
326
            if (isset($globalMatches['join'])) {
327
                foreach (explode('_and_', $globalMatches['join'][0]) as $join) {
@@ 326-330 (lines=5) @@
323
                $this->group = explode('_and_', $globalMatches['group'][0]);
324
            }
325
            // Получим имена таблиц для "объединения" в запросе
326
            if (isset($globalMatches['join'])) {
327
                foreach (explode('_and_', $globalMatches['join'][0]) as $join) {
328
                    $this->join($join);
329
                }
330
            }
331
        }
332
333
        // Вернем полученный объект-запрос