moneyphp / money

PHP implementation of Fowler's Money pattern.
http://moneyphp.org
MIT License
4.62k stars 440 forks source link

chore: psalm simplify positive-int|0 to non-negative-int (for src) #782

Closed Chris53897 closed 8 months ago

Chris53897 commented 8 months ago

Same as https://github.com/moneyphp/money/pull/781 but for /src.

I did split it up, because i do not know at which version of psalm it was added. And maybe has effects on userland projects with lower psalm version? https://github.com/vimeo/psalm/issues/7769