Passed
Branch master (0a46a7)
by Vasyl
02:59
created
Category
src/Currency.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,8 +194,8 @@
 block discarded – undo
194 194
      */
195 195
     protected function prepareCode($code = null)
196 196
     {
197
-        if (! $code) {
198
-            $code =  $this->config("default", 'USD');
197
+        if (!$code) {
198
+            $code = $this->config("default", 'USD');
199 199
         }
200 200
 
201 201
         if (array_key_exists($code, $this->getCurrencies())) {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     public function registerCurrency()
33 33
     {
34
-        $this->app->singleton('currency', function ($app) {
34
+        $this->app->singleton('currency', function($app) {
35 35
             return new Currency($app->config->get('currency', []));
36 36
         });
37 37
 
Please login to merge, or discard this patch.