From a5df1d39ebff4f033099aee4048aee4550a12e95 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 22 Feb 2024 16:29:21 +0800 Subject: [PATCH] * zin: fix method name. --- lib/zin/core/h.class.php | 2 +- lib/zin/core/text.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }