From 430e87a9934c288285d0e472f07b0a2e3217c390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 17:31:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Base/BaseActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index 9c4a0c3b..a48de901 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -593,7 +593,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess * @param $value * @return mixed */ - public function toFormat($columns, $format, $key, $value) + public function toFormat($columns, $format, $key, $value): mixed { if (isset($format[$key])) { return $columns->encode($value, $columns->clean($format[$key]));