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

@@ 529-533 (lines=5) @@
526
        }
527
528
        // Comment
529
        if (isset($options['comment'])) {
530
            $comment = trim($options['comment'], " '");
531
532
            $tableOptions[] = sprintf("COMMENT = %s ", $this->quoteStringLiteral($comment));
533
        }
534
535
        // Row format
536
        if (isset($options['row_format'])) {