Test Failed
Push — master ( 646e1f...19314b )
by Gabriel
02:47
created
src/functions/general.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@
 block discarded – undo
49 49
                 'nosimbol' => preg_match('/\!/', $fmatch[1]) > 0,
50 50
                 'isleft' => preg_match('/\-/', $fmatch[1]) > 0,
51 51
             ];
52
-            $width = trim($fmatch[2]) ? (int)$fmatch[2] : 0;
53
-            $left = trim($fmatch[3]) ? (int)$fmatch[3] : 0;
54
-            $right = trim($fmatch[4]) ? (int)$fmatch[4] : $locale['int_frac_digits'];
52
+            $width = trim($fmatch[2]) ? (int) $fmatch[2] : 0;
53
+            $left = trim($fmatch[3]) ? (int) $fmatch[3] : 0;
54
+            $right = trim($fmatch[4]) ? (int) $fmatch[4] : $locale['int_frac_digits'];
55 55
             $conversion = $fmatch[5];
56 56
 
57 57
             $positive = true;
Please login to merge, or discard this patch.
src/MoneyServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,14 +38,14 @@
 block discarded – undo
38 38
 
39 39
     protected function registerCurrencies()
40 40
     {
41
-        $this->getContainer()->share('money.currencies', function () {
41
+        $this->getContainer()->share('money.currencies', function() {
42 42
             return new ISOCurrencies();
43 43
         });
44 44
     }
45 45
 
46 46
     protected function registerCurrency()
47 47
     {
48
-        $this->getContainer()->share('money.currency', function () {
48
+        $this->getContainer()->share('money.currency', function() {
49 49
         });
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
src/Utility/Money.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public static function fromFloat($value, $currency = null)
18 18
     {
19 19
         $currency = static::currency($currency);
20
-        return new \Money\Money($value*100, $currency);
20
+        return new \Money\Money($value * 100, $currency);
21 21
     }
22 22
 
23 23
     /**
Please login to merge, or discard this patch.