diff --git a/Types/WordpressIdType.php b/Types/WordpressIdType.php index 2b612e7..9a77c7f 100644 --- a/Types/WordpressIdType.php +++ b/Types/WordpressIdType.php @@ -23,7 +23,7 @@ public function convertToPHPValue($value, AbstractPlatform $platform) return null; } - return $value; + return (int) $value; } public function convertToDatabaseValue($value, AbstractPlatform $platform)