Code Duplication    Length = 3-5 lines in 2 locations

src/dbQuery.php 2 locations

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