summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFranck Magnan <fmagnan@gmail.com>2013-03-06 21:56:02 +0100
committerFranck Magnan <fmagnan@gmail.com>2013-03-06 21:56:02 +0100
commit1df1f5be6d465fcc8b412c1cc30c100decf9d3f2 (patch)
tree5ff910eb4bbd0c1e17478eaf30eda81b8365be3d /lib
parentd89d902381230843629b0fb562e1929a67bafbc0 (diff)
downloadsql-formatter-1df1f5be6d465fcc8b412c1cc30c100decf9d3f2.zip
sql-formatter-1df1f5be6d465fcc8b412c1cc30c100decf9d3f2.tar.gz
sql-formatter-1df1f5be6d465fcc8b412c1cc30c100decf9d3f2.tar.bz2
replace 'static' keyword by 'self' to be compatible with php 5.2
Diffstat (limited to 'lib')
-rw-r--r--lib/SqlFormatter.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/SqlFormatter.php b/lib/SqlFormatter.php
index 2d68ee6..f0b5be3 100644
--- a/lib/SqlFormatter.php
+++ b/lib/SqlFormatter.php
@@ -799,9 +799,9 @@ class SqlFormatter
private static function output($string)
{
$string=trim($string);
- if(!static::$use_pre){
- return $string;
+ if(!self::$use_pre){
+ return $string;
}
- return '<pre '.static::$pre_attributes.'>' . $string . '</pre>';
+ return '<pre '.self::$pre_attributes.'>' . $string . '</pre>';
}
}