From 14316ff4022a4f2a66ef7e980b736dfdcc69f6b0 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 12 Jan 2024 15:31:41 +0800 Subject: [PATCH] * Add int to parameter type of value method. --- lib/zin/zentao/field.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/zentao/field.class.php b/lib/zin/zentao/field.class.php index 3bc01cb4c5..c48056800f 100644 --- a/lib/zin/zentao/field.class.php +++ b/lib/zin/zentao/field.class.php @@ -66,7 +66,7 @@ class field extends setting return $this->setClass('className', ...$classList); } - function value(string|array|null $value): field + function value(string|array|int|null $value): field { return $this->setVal('value', $value); }