@@ -15,7 +15,7 @@ |
||
| 15 | 15 | { |
| 16 | 16 | public function register() |
| 17 | 17 | { |
| 18 | - $this->app->singleton(Convert::class, function () { |
|
| 18 | + $this->app->singleton(Convert::class, function() { |
|
| 19 | 19 | return new Convert(); |
| 20 | 20 | }); |
| 21 | 21 | $this->app->alias(Convert::class, 'convert'); |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | } |
| 178 | 178 | $number = \trim(\str_replace(' ', '', $number), ' \t\n\r'); |
| 179 | 179 | if ($number !== 0) { |
| 180 | - $number = \ltrim($number,'\0\x0B'); |
|
| 180 | + $number = \ltrim($number, '\0\x0B'); |
|
| 181 | 181 | } |
| 182 | 182 | $pos_dot = \strpos($number, '.'); |
| 183 | 183 | if (false !== $pos_dot) { |