Skip to content

Commit

Permalink
Add requiresSQLCommentHint() to BaseType
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendolenLynch committed Aug 4, 2019
1 parent b8acbb0 commit 9fde85d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/MartinGeorgiev/Doctrine/DBAL/Types/BaseType.php
Expand Up @@ -32,6 +32,14 @@ public function getName(): string
return static::TYPE_NAME;
}

/**
* {@inheritdoc}
*/
public function requiresSQLCommentHint(AbstractPlatform $platform)
{
return false;
}

private static function throwExceptionIfTypeNameNotConfigured(): void
{
if (null === static::TYPE_NAME) {
Expand Down

0 comments on commit 9fde85d

Please sign in to comment.