Skip to content

Commit

Permalink
Improve an error message that should never be displayed (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude authored Jan 18, 2024
1 parent dcae8af commit 9e75f0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Webfactory/Slimdump/Doctrine/DummyType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ class DummyType extends Type

public function convertToPHPValue($value, AbstractPlatform $platform)
{
throw new LogicException('this should not be called in the first place');
throw new LogicException('This Doctrine type assumes that the types won\'t be used to convert any data – it\'s just there to allow the rest of DBAL\'s functionality to work without throwing errors');
}

public function getSQLDeclaration(array $column, AbstractPlatform $platform)
{
throw new LogicException('this should not be called in the first place');
throw new LogicException('This Doctrine type assumes that the types won\'t be used to convert any data – it\'s just there to allow the rest of DBAL\'s functionality to work without throwing errors');
}

public function getName()
Expand Down

0 comments on commit 9e75f0f

Please sign in to comment.