From b1bb7f7b5818e2c05a3b2be5880baafff9e94953 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Tue, 16 Apr 2024 18:16:34 +0800 Subject: [PATCH] * zin: fix the inheritance issues of thinkstep wg. --- lib/zin/wg/thinkstep/v1.php | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/lib/zin/wg/thinkstep/v1.php b/lib/zin/wg/thinkstep/v1.php index fca24f58fa..54d887fba6 100644 --- a/lib/zin/wg/thinkstep/v1.php +++ b/lib/zin/wg/thinkstep/v1.php @@ -80,15 +80,22 @@ class thinkStep extends wg ); } - protected function build(): wg + protected function buildBody(): array { - return formPanel - ( - set::grid(false), - set::actions(array()), + return array( $this->buildNamePanel(), $this->buildDescControl(), $this->block('fields') ); } + + protected function build(): wg|array + { + return formPanel + ( + set::grid(false), + set::actions(array()), + $this->buildBody() + ); + } }