summaryrefslogtreecommitdiff
path: root/ext/tidy/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tidy/tests')
-rw-r--r--ext/tidy/tests/027.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tidy/tests/027.phpt b/ext/tidy/tests/027.phpt
index cd984dd9e7..fb26a70f86 100644
--- a/ext/tidy/tests/027.phpt
+++ b/ext/tidy/tests/027.phpt
@@ -11,7 +11,7 @@ abstract class BaseClass {
private static $tidyconfig;
public function __construct() {
- $this->tidyconfig = array(
+ self::$tidyconfig = array(
'indent' => false,
'clean' => true,
'merge-divs' => false,
@@ -29,7 +29,7 @@ abstract class BaseClass {
$data = "awerawer"; // in my code, $data is downloaded from a site
$tidy = new tidy;
- $tidy->parseString($data, $this->tidyconfig, 'utf8');
+ $tidy->parseString($data, self::$tidyconfig, 'utf8');
$tidy->cleanRepair();
return $tidy;