From 287c2a15423f8c117135983838d4a2dfda215ea5 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Wed, 10 Apr 2019 23:01:36 -0700 Subject: [PATCH] Removed redundant methods --- lib/Doctrine/DBAL/Platforms/AbstractPlatform.php | 8 -------- lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php | 8 -------- 2 files changed, 16 deletions(-) diff --git a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php index 5d7c9fdd07f..57664e6b8d6 100644 --- a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php +++ b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php @@ -3614,12 +3614,4 @@ protected function getLikeWildcardCharacters() : string { return '%_'; } - - /** - * Quote a literal string for usage as DEFAULT value. - */ - protected function quoteDefaultStringLiteral(string $str) : string - { - return $this->quoteStringLiteral($str); - } } diff --git a/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php b/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php index bcf44d30243..4458ae27750 100644 --- a/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php +++ b/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php @@ -1252,12 +1252,4 @@ private function getOldColumnComment(ColumnDiff $columnDiff) : ?string { return $columnDiff->fromColumn ? $this->getColumnComment($columnDiff->fromColumn) : null; } - - /** - * {@inheritDoc} - */ - protected function quoteDefaultStringLiteral(string $str) : string - { - return parent::quoteStringLiteral($str); - } }