Code Duplication    Length = 3-3 lines in 2 locations

src/Mouf/Database/TDBM/TDBMService.php 2 locations

@@ 1345-1347 (lines=3) @@
1342
            $sql .= ' ORDER BY '.$orderString;
1343
        }
1344
1345
        if ($mode !== null && $mode !== self::MODE_CURSOR && $mode !== self::MODE_ARRAY) {
1346
            throw new TDBMException("Unknown fetch mode: '".$this->mode."'");
1347
        }
1348
1349
        $mode = $mode ?: $this->mode;
1350
@@ 1426-1428 (lines=3) @@
1423
            throw new TDBMException('Unsupported use of GROUP BY in SQL request.');
1424
        }
1425
1426
        if ($mode !== null && $mode !== self::MODE_CURSOR && $mode !== self::MODE_ARRAY) {
1427
            throw new TDBMException("Unknown fetch mode: '".$mode."'");
1428
        }
1429
1430
        if ($columnsList !== null) {
1431
            $joinSql = '';