laravel-money
laravel-money copied to clipboard
Non Existent Method Calls return $this
Hi Guys,
i had a hard time finding a typo (postive -> *posItive) when calling
if(money(0)->isPostive())
always resulting to true because no fatal error is returned when doing so.
Why does the __call method return the money object when a called method does not exist ?
Sorry if this is basic php knowledge, but it seemed weird to me.
Thank you :)