Code Duplication    Length = 12-15 lines in 6 locations

code/DebugBarDatabaseNewProxy.php 3 locations

@@ 426-439 (lines=14) @@
423
        );
424
    }
425
426
    public function alterTable(
427
        $table,
428
        $newFields = null,
429
        $newIndexes = null,
430
        $alteredFields = null,
431
        $alteredIndexes = null,
432
        $alteredOptions = null,
433
        $advancedOptions = null
434
    ) {
435
        return call_user_func_array(
436
            array($this->realConn, __FUNCTION__),
437
            func_get_args()
438
        );
439
    }
440
441
    public function comparisonClause(
442
        $field,
@@ 441-453 (lines=13) @@
438
        );
439
    }
440
441
    public function comparisonClause(
442
        $field,
443
        $value,
444
        $exact = false,
445
        $negate = false,
446
        $caseSensitive = false,
447
        $parameterised = false
448
    ) {
449
        return call_user_func_array(
450
            array($this->realConn, __FUNCTION__),
451
            func_get_args()
452
        );
453
    }
454
455
    public function createDatabase()
456
    {
@@ 471-482 (lines=12) @@
468
        );
469
    }
470
471
    public function createTable(
472
        $table,
473
        $fields = null,
474
        $indexes = null,
475
        $options = null,
476
        $advancedOptions = null
477
    ) {
478
        return call_user_func_array(
479
            array($this->realConn, __FUNCTION__),
480
            func_get_args()
481
        );
482
    }
483
484
    public function datetimeDifferenceClause($date1, $date2)
485
    {

code/DebugBarDatabaseProxy.php 3 locations

@@ 398-412 (lines=15) @@
395
        );
396
    }
397
398
    public function alterTable(
399
        $table,
400
        $newFields = null,
401
        $newIndexes = null,
402
        $alteredFields = null,
403
        $alteredIndexes = null,
404
        $alteredOptions = null,
405
        $advancedOptions = null
406
    ) {
407
408
        return call_user_func_array(
409
            array($this->realConn, __FUNCTION__),
410
            func_get_args()
411
        );
412
    }
413
414
    public function comparisonClause(
415
        $field,
@@ 414-427 (lines=14) @@
411
        );
412
    }
413
414
    public function comparisonClause(
415
        $field,
416
        $value,
417
        $exact = false,
418
        $negate = false,
419
        $caseSensitive = false,
420
        $parameterised = false
421
    ) {
422
423
        return call_user_func_array(
424
            array($this->realConn, __FUNCTION__),
425
            func_get_args()
426
        );
427
    }
428
429
    public function createDatabase()
430
    {
@@ 445-457 (lines=13) @@
442
        );
443
    }
444
445
    public function createTable(
446
        $table,
447
        $fields = null,
448
        $indexes = null,
449
        $options = null,
450
        $advancedOptions = null
451
    ) {
452
453
        return call_user_func_array(
454
            array($this->realConn, __FUNCTION__),
455
            func_get_args()
456
        );
457
    }
458
459
    public function datetimeDifferenceClause($date1, $date2)
460
    {