Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 276-280 (lines=5) @@
273
        }
274
275
        // Comment
276
        if (isset($options['comment'])) {
277
            $comment = trim($options['comment'], " '");
278
279
            $tableOptions[] = sprintf("COMMENT = %s ", $this->quoteStringLiteral($comment));
280
        }
281
282
        // Row format
283
        if (isset($options['row_format'])) {

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

@@ 517-521 (lines=5) @@
514
        }
515
516
        // Comment
517
        if (isset($options['comment'])) {
518
            $comment = trim($options['comment'], " '");
519
520
            $tableOptions[] = sprintf("COMMENT = %s ", $this->quoteStringLiteral($comment));
521
        }
522
523
        // Row format
524
        if (isset($options['row_format'])) {