aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_test/core/phpQuery-onefile.php
diff options
context:
space:
mode:
authorSyntaxseed <825423+syntaxseed@users.noreply.github.com>2020-10-01 12:35:44 -0400
committerSyntaxseed <825423+syntaxseed@users.noreply.github.com>2021-09-19 15:54:51 -0400
commite32b1b0ffe5e0c48ff8faed9c74099599659774c (patch)
treeda81d715367d413cb013df2a7717319604af80b7 /_test/core/phpQuery-onefile.php
parente6a9d76f2ac37911f6a929689546fc2d074b8295 (diff)
downloaddokuwiki-e32b1b0ffe5e0c48ff8faed9c74099599659774c.tar.gz
dokuwiki-e32b1b0ffe5e0c48ff8faed9c74099599659774c.zip
Fix PHPUnit fatal errors compatibility with void.
Diffstat (limited to '_test/core/phpQuery-onefile.php')
-rw-r--r--_test/core/phpQuery-onefile.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/_test/core/phpQuery-onefile.php b/_test/core/phpQuery-onefile.php
index d03e5eaa5..13d0649c6 100644
--- a/_test/core/phpQuery-onefile.php
+++ b/_test/core/phpQuery-onefile.php
@@ -4267,21 +4267,21 @@ class phpQueryObject
$debug = phpQuery::$debug;
phpQuery::$debug = false;
foreach($this->stack() as $node)
- $output .= $this->dumpTree($node);
+ $output .= $this->dumpTreeInternal($node);
phpQuery::$debug = $debug;
print $html
? nl2br(str_replace(' ', '&nbsp;', $output))
: $output;
return $this;
}
- private function dumpTree($node, $intend = 0) {
+ private function dumpTreeInternal($node, $intend = 0) {
$whois = $this->whois($node);
$return = '';
if ($whois)
$return .= str_repeat(' - ', $intend).$whois."\n";
if (isset($node->childNodes))
foreach($node->childNodes as $chNode)
- $return .= $this->dumpTree($chNode, $intend+1);
+ $return .= $this->dumpTreeInternal($chNode, $intend+1);
return $return;
}
/**