From 2670f62d8fc97ed221125d5cd47b9c7dabd44879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=82=E6=9E=9C=E7=9A=84=E5=A6=82=E6=9E=9C?= Date: Thu, 9 Mar 2023 16:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8=E9=87=8D=E5=86=99jsonSeriali?= =?UTF-8?q?ze?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SplBean.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SplBean.php b/src/SplBean.php index dbb166e..9132c6e 100644 --- a/src/SplBean.php +++ b/src/SplBean.php @@ -117,7 +117,7 @@ final public function getProperty($name) } } - final public function jsonSerialize(): array + public function jsonSerialize(): array { $data = []; foreach ($this->properties as $key => $property){