We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dea834 commit df7851bCopy full SHA for df7851b
src/Omnipay/Common/Message/AbstractRequest.php
@@ -168,7 +168,10 @@ public function getAmount()
168
if (!is_float($amount) &&
169
$this->getCurrencyDecimalPlaces() > 0 &&
170
false === strpos((string) $amount, '.')) {
171
- throw new InvalidRequestException("Please specify amount as a string or float, with decimal places (e.g. '10.00' to represent $10.00).");
+ throw new InvalidRequestException(
172
+ 'Please specify amount as a string or float, ' +
173
+ 'with decimal places (e.g. \'10.00\' to represent $10.00).'
174
+ );
175
}
176
177
return number_format(
0 commit comments