Test Setup Failed
Push — master ( 201267...3c5e5f )
by Gabriel
09:45 queued 07:13
created
src/Models/Currencies/CurrencyTrait.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,20 +27,20 @@
 block discarded – undo
27 27
     public function moneyHTMLFormat($amount)
28 28
     {
29 29
         list($integerValue, $decimalValue) = explode('.', $amount);
30
-        $intHTML = '<span class="money-int">'.number_format($integerValue).'</span>';
30
+        $intHTML = '<span class="money-int">' . number_format($integerValue) . '</span>';
31 31
 
32 32
         $decimalValue = str_pad($decimalValue, 2, '0', STR_PAD_LEFT);
33
-        $decimalHTML = '<sup class="money-decimal">.'.$decimalValue.'</sup>';
33
+        $decimalHTML = '<sup class="money-decimal">.' . $decimalValue . '</sup>';
34 34
 
35
-        $return = $intHTML.$decimalHTML;
35
+        $return = $intHTML . $decimalHTML;
36 36
 
37
-        $symbolHTML = '<span class="money-currency">'.$this->symbol.'</span>';
37
+        $symbolHTML = '<span class="money-currency">' . $this->symbol . '</span>';
38 38
         if ($this->position == 'before') {
39
-            $return = $symbolHTML.' '.$amount;
39
+            $return = $symbolHTML . ' ' . $amount;
40 40
         } else {
41
-            $return .= ' '.$symbolHTML;
41
+            $return .= ' ' . $symbolHTML;
42 42
         }
43 43
 
44
-        return '<span class="price" content="'.$amount.'">'.$return.'</span>';
44
+        return '<span class="price" content="' . $amount . '">' . $return . '</span>';
45 45
     }
46 46
 }
Please login to merge, or discard this patch.