From 06a8fac5ab96997fa1d080b26f50988240e56d27 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Thu, 9 Jul 2020 22:46:21 -0700 Subject: [PATCH] Add missing ConversionException to the Type classes --- src/Types/Type.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Types/Type.php b/src/Types/Type.php index df65acc6848..bb958e61577 100644 --- a/src/Types/Type.php +++ b/src/Types/Type.php @@ -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) { @@ -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) {