Skip to content

Commit

Permalink
Add missing ConversionException to the Type classes
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Jul 10, 2020
1 parent ee4033d commit 06a8fac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Types/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ final public function __construct()
* @param AbstractPlatform $platform The currently used database platform.
*
* @return mixed The database representation of the value.
*
* @throws ConversionException
*/
public function convertToDatabaseValue($value, AbstractPlatform $platform)
{
Expand All @@ -78,6 +80,8 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform)
* @param AbstractPlatform $platform The currently used database platform.
*
* @return mixed The PHP representation of the value.
*
* @throws ConversionException
*/
public function convertToPHPValue($value, AbstractPlatform $platform)
{
Expand Down

0 comments on commit 06a8fac

Please sign in to comment.