Completed
Pull Request — master (#70)
by
unknown
05:22
created
lib/Dwoo/Plugins/Functions/PluginNumberFormat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
      *
21 21
      * @return string
22 22
      */
23
-    public static function compile(Compiler $compiler, $value, $decimals = 0, $dec_point = ".",  $thousands_sep = ",")
23
+    public static function compile(Compiler $compiler, $value, $decimals = 0, $dec_point = ".", $thousands_sep = ",")
24 24
     {
25
-        return 'number_format(' . $value . ',' . $decimals . ',' . $dec_point . ',' . $thousands_sep . ')';
25
+        return 'number_format('.$value.','.$decimals.','.$dec_point.','.$thousands_sep.')';
26 26
     }
27 27
 }
Please login to merge, or discard this patch.