Skip to content

Commit

Permalink
Removed redundant methods
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Apr 11, 2019
1 parent 1170bba commit 287c2a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
8 changes: 0 additions & 8 deletions lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 287c2a1

Please sign in to comment.