Code Duplication    Length = 9-9 lines in 2 locations

core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 1 location

@@ 695-703 (lines=9) @@
692
    /**
693
     * {@inheritdoc}
694
     */
695
    public function getCommentOnColumnSQL($tableName, $columnName, $comment)
696
    {
697
        $tableName = new Identifier($tableName);
698
        $columnName = new Identifier($columnName);
699
        $comment = $comment === null ? 'NULL' : $this->quoteStringLiteral($comment);
700
701
        return "COMMENT ON COLUMN " . $tableName->getQuotedName($this) . "." . $columnName->getQuotedName($this) .
702
            " IS $comment";
703
    }
704
705
    /**
706
     * {@inheritDoc}

core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php 1 location

@@ 384-392 (lines=9) @@
381
    /**
382
     * {@inheritdoc}
383
     */
384
    public function getCommentOnColumnSQL($tableName, $columnName, $comment)
385
    {
386
        $tableName = new Identifier($tableName);
387
        $columnName = new Identifier($columnName);
388
        $comment = $comment === null ? 'NULL' : $this->quoteStringLiteral($comment);
389
390
        return "COMMENT ON COLUMN " . $tableName->getQuotedName($this) . '.' . $columnName->getQuotedName($this) .
391
            " IS $comment";
392
    }
393
394
    /**
395
     * {@inheritdoc}