Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php 1 location

@@ 1565-1567 (lines=3) @@
1562
            return " DEFAULT " . $this->getCurrentTimestampSQL();
1563
        }
1564
1565
        if ((string) $field['type'] == 'Boolean') {
1566
            return " DEFAULT '" . $this->convertBooleans($field['default']) . "'";
1567
        }
1568
1569
        return " DEFAULT '" . $field['default'] . "'";
1570
    }

lib/Doctrine/DBAL/Platforms/AbstractPlatform.php 1 location

@@ 2291-2293 (lines=3) @@
2288
                    $default = " DEFAULT ".$this->getCurrentTimeSQL();
2289
                } elseif ((string) $field['type'] == 'Date' && $field['default'] == $this->getCurrentDateSQL()) {
2290
                    $default = " DEFAULT ".$this->getCurrentDateSQL();
2291
                } elseif ((string) $field['type'] == 'Boolean') {
2292
                    $default = " DEFAULT '" . $this->convertBooleans($field['default']) . "'";
2293
                }
2294
            }
2295
        }
2296