Closed gdebrauwer closed 1 year ago
When you want to check that 2 money objects are not the same, you currently have to do:
! $firstMoney->isEqualTo($secondMoney);
This PR adds a reverse method that makes this more readable:
$firstMoney->isNotEqualTo($secondMoney);
Hi, I’m sorry bit I see no point in adding this!
is perfectly fine to me!
When you want to check that 2 money objects are not the same, you currently have to do:
This PR adds a reverse method that makes this more readable: