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
@@ 1427-1429 (lines=3) @@
1424
            throw new TDBMException('Unsupported use of GROUP BY in SQL request.');
1425
        }
1426
1427
        if ($mode !== null && $mode !== self::MODE_CURSOR && $mode !== self::MODE_ARRAY) {
1428
            throw new TDBMException("Unknown fetch mode: '".$mode."'");
1429
        }
1430
1431
        if ($columnsList !== null) {
1432
            $joinSql = '';