diff options
author | Franck Magnan <fmagnan@gmail.com> | 2013-03-05 18:50:08 +0100 |
---|---|---|
committer | Franck Magnan <fmagnan@gmail.com> | 2013-03-05 18:50:08 +0100 |
commit | d89d902381230843629b0fb562e1929a67bafbc0 (patch) | |
tree | 6b6e4324ebf02cc22c61870ed8310e12538b77d7 /lib/SqlFormatter.php | |
parent | 2bbd685687f72cd5ffc1b9f0b7c19b28f6dc694c (diff) | |
download | sql-formatter-d89d902381230843629b0fb562e1929a67bafbc0.zip sql-formatter-d89d902381230843629b0fb562e1929a67bafbc0.tar.gz sql-formatter-d89d902381230843629b0fb562e1929a67bafbc0.tar.bz2 |
fixed formatting
Diffstat (limited to 'lib/SqlFormatter.php')
-rw-r--r-- | lib/SqlFormatter.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/SqlFormatter.php b/lib/SqlFormatter.php index b3e2527..2d68ee6 100644 --- a/lib/SqlFormatter.php +++ b/lib/SqlFormatter.php @@ -81,7 +81,7 @@ class SqlFormatter // The tab character to use when formatting SQL public static $tab = ' '; - // This flag tells us if queries need to be embedded in <pre> tags + // This flag tells us if queries need to be enclosed in <pre> tags public static $use_pre = true; // This flag tells us if SqlFormatted has been initialized @@ -319,7 +319,7 @@ class SqlFormatter * * @return String The SQL string with HTML styles and formatting wrapped in a <pre> tag */ - public static function format($string, $highlight=true) { + public static function format($string, $highlight=true) { // This variable will be populated with formatted html $return = ''; @@ -792,7 +792,7 @@ class SqlFormatter /** * Helper function for building string output * - * @param String $a The string to be quoted + * @param String $string The string to be quoted * * @return String The quoted string */ |