@@ -298,7 +298,7 @@ |
||
298 | 298 | $valueToSet = (string)$value; |
299 | 299 | |
300 | 300 | if (!is_numeric($valueToSet)) { |
301 | - throw new InvalidArgumentException('Invalid number provided: ' . $valueToSet); |
|
301 | + throw new InvalidArgumentException('Invalid number provided: '.$valueToSet); |
|
302 | 302 | } |
303 | 303 | |
304 | 304 | // We use a slick trick to make sure the scale is respected. |
@@ -118,10 +118,10 @@ |
||
118 | 118 | do { |
119 | 119 | $remainder = bcmod($decimal, $toBase); |
120 | 120 | $decimal = bcdiv($decimal, $toBase); |
121 | - $result = $chars[$remainder] . $result; |
|
121 | + $result = $chars[$remainder].$result; |
|
122 | 122 | } while (bccomp($decimal, '0')); |
123 | 123 | |
124 | - return $sign . ltrim($result, '0'); |
|
124 | + return $sign.ltrim($result, '0'); |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |