Skip to content

Commit df7851b

Browse files
committed
Style fix
1 parent 1dea834 commit df7851b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Omnipay/Common/Message/AbstractRequest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ public function getAmount()
168168
if (!is_float($amount) &&
169169
$this->getCurrencyDecimalPlaces() > 0 &&
170170
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).");
171+
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+
);
172175
}
173176

174177
return number_format(

0 commit comments

Comments
 (0)