Passed
Push — master ( 20f402...bc9194 )
by Gabriel
15:58 queued 11:12
created
src/Models/Currencies/CurrencyTrait.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,20 +29,20 @@
 block discarded – undo
29 29
         $amount = strpos($amount, '.') !== false ? $amount : $amount . '.0';
30 30
 
31 31
         list($integerValue, $decimalValue) = explode('.', $amount);
32
-        $intHTML = '<span class="money-int">'.number_format($integerValue).'</span>';
32
+        $intHTML = '<span class="money-int">' . number_format($integerValue) . '</span>';
33 33
 
34 34
         $decimalValue = str_pad($decimalValue, 2, '0', STR_PAD_LEFT);
35
-        $decimalHTML = '<sup class="money-decimal">.'.$decimalValue.'</sup>';
35
+        $decimalHTML = '<sup class="money-decimal">.' . $decimalValue . '</sup>';
36 36
 
37
-        $return = $intHTML.$decimalHTML;
37
+        $return = $intHTML . $decimalHTML;
38 38
 
39
-        $symbolHTML = '<span class="money-currency">'.$this->symbol.'</span>';
39
+        $symbolHTML = '<span class="money-currency">' . $this->symbol . '</span>';
40 40
         if ($this->position == 'before') {
41
-            $return = $symbolHTML.' '.$amount;
41
+            $return = $symbolHTML . ' ' . $amount;
42 42
         } else {
43
-            $return .= ' '.$symbolHTML;
43
+            $return .= ' ' . $symbolHTML;
44 44
         }
45 45
 
46
-        return '<span class="price" content="'.$amount.'">'.$return.'</span>';
46
+        return '<span class="price" content="' . $amount . '">' . $return . '</span>';
47 47
     }
48 48
 }
Please login to merge, or discard this patch.