diff --git a/lib/zin/core/h.class.php b/lib/zin/core/h.class.php index 9aa93f0470..6e74694b9b 100644 --- a/lib/zin/core/h.class.php +++ b/lib/zin/core/h.class.php @@ -30,7 +30,7 @@ class h extends node return $tagName === null ? '' : $tagName; } - public function type(): string + public function fullType(): string { return 'h::' . $this->tagName(); } diff --git a/lib/zin/core/text.class.php b/lib/zin/core/text.class.php index 779e53f114..73583f1a9e 100644 --- a/lib/zin/core/text.class.php +++ b/lib/zin/core/text.class.php @@ -22,7 +22,7 @@ class text extends node 'html' => '?bool', ); - public function type(): string + public function fullType(): string { return 'node::' . $this->type(); }