diff --git a/lib/Doctrine/Record.php b/lib/Doctrine/Record.php index fa4e0579..61508837 100644 --- a/lib/Doctrine/Record.php +++ b/lib/Doctrine/Record.php @@ -2296,7 +2296,7 @@ final public function getIncremented() return null; } - return $id; + return (int)$id; } /**