Closed mstahl closed 8 years ago
@mstahl , can you send a gist of the code you are trying to run? I wonder if it should raise an error, or return zero.
@mstahl @tubedude is this issue still open?
Yeah I don't even work at the company I was working at when I filed this so I'm gonna close it.
The #payment method should be guaranteed to return a number, as 1) methods that depend on it are almost certainly expecting a number; and 2) if having an amount of zero is unrecoverable an exception should be thrown instead of returning nil, as returning nil is ambiguous.