Passed
Push — master ( 9fc6b7...50dc08 )
by Sebastian
02:58
created
src/Mailcode/Translator/Syntax/ApacheVelocity/ShowNumber.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             $locale
41 41
         );
42 42
 
43
-        if($command->isURLEncoded())
43
+        if ($command->isURLEncoded())
44 44
         {
45 45
             return sprintf(
46 46
                 '${esc.url($%s)}',
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $dc = '_';
93 93
         }
94 94
 
95
-        $type = $th . $dc;
95
+        $type = $th.$dc;
96 96
 
97 97
         if (isset($this->typeLocales[$type])) {
98 98
             return $this->typeLocales[$type];
@@ -105,12 +105,12 @@  discard block
 block discarded – undo
105 105
     {
106 106
         $result = '0';
107 107
 
108
-        if($format->hasThousandsSeparator())
108
+        if ($format->hasThousandsSeparator())
109 109
         {
110 110
             $result = '#,##0';
111 111
         }
112 112
 
113
-        if($format->hasDecimals())
113
+        if ($format->hasDecimals())
114 114
         {
115 115
             $result .= '.'.str_repeat('0', $format->getDecimals());
116 116
         }
Please login to merge, or discard this patch.