Closed ruudk closed 3 years ago
I think this is very helpful indeed. Maybe investigate whether more methods have this problem.
Great, thanks!
I will wait until the end of the week with tagging 4.0.1 (please remind me if I forgot ...)
Tagged, specifically to fix this issue, thanks again!
Our application calculates a lot with
Money::multiply
andMoney::divide
. When trying to upgrade to Money v4.0.0 I needed to add(string)
casts to almost all of the multiplier/divisors. It makes the code harder to read.I wonder if it's really needed, as
Money::__construct
also takes integers now. Can't we do the same forMoney::multiply
andMoney::divide
?What do you think?