Skip to content

Commit

Permalink
enforce int on incremented
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedzer committed Sep 25, 2024
1 parent f04ffbd commit c51c795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -2296,7 +2296,7 @@ final public function getIncremented()
return null;
}

return $id;
return (int)$id;
}

/**
Expand Down

0 comments on commit c51c795

Please sign in to comment.