moneyphp / money

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

error #691

Closed zakiverox closed 2 years ago

zakiverox commented 2 years ago

"Money\Money::assertSameCurrency(): Argument #1 ($other) must be of type Money\Money, string given

frederikbosch commented 2 years ago

I have no idea how you managed to do this. If you pass some additional context, I might have a look at it. But since this has to be Money v3, I sincerely doubt that. Please upgrade to v4.