diff --git a/lib/SqlFormatter.php b/lib/SqlFormatter.php index 49e1d2f..662092c 100644 --- a/lib/SqlFormatter.php +++ b/lib/SqlFormatter.php @@ -426,7 +426,7 @@ protected static function tokenize($string) * * @return String The SQL string with HTML styles and formatting wrapped in a
 tag
      */
-    public static function format($string, $highlight=true)
+    public static function format($string, $highlight=true, $indent_level=0)
     {
         // This variable will be populated with formatted html
         $return = '';
@@ -434,7 +434,6 @@ public static function format($string, $highlight=true)
         // Use an actual tab while formatting and then switch out with self::$tab at the end
         $tab = "\t";
 
-        $indent_level = 0;
         $newline = false;
         $inline_parentheses = false;
         $increase_special_indent = false;