Add missing ConversionException to the Type classes

parent ee4033d3
...@@ -64,6 +64,8 @@ abstract class Type ...@@ -64,6 +64,8 @@ abstract class Type
* @param AbstractPlatform $platform The currently used database platform. * @param AbstractPlatform $platform The currently used database platform.
* *
* @return mixed The database representation of the value. * @return mixed The database representation of the value.
*
* @throws ConversionException
*/ */
public function convertToDatabaseValue($value, AbstractPlatform $platform) public function convertToDatabaseValue($value, AbstractPlatform $platform)
{ {
...@@ -78,6 +80,8 @@ abstract class Type ...@@ -78,6 +80,8 @@ abstract class Type
* @param AbstractPlatform $platform The currently used database platform. * @param AbstractPlatform $platform The currently used database platform.
* *
* @return mixed The PHP representation of the value. * @return mixed The PHP representation of the value.
*
* @throws ConversionException
*/ */
public function convertToPHPValue($value, AbstractPlatform $platform) public function convertToPHPValue($value, AbstractPlatform $platform)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment