mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #10368] Docs: Removing type: 'integer' from mappings
#12305
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/10368
State: closed
Merged: Yes
Yet another micro-PR ;-) - as requested at https://github.com/doctrine/orm/pull/10364#issuecomment-1370155521
I also changed
$currentPricefromfloattoint, since IMO it's better to store prices asint(=cents).Question: Is there a reason why most typehints are
int|null, instead of?int? Should I change them?