From 56a20d0f90b3e137156fe061acda2ec30841e71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 30 May 2022 16:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ActiveQuery.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ActiveQuery.php b/ActiveQuery.php index 3945410..976b1c8 100644 --- a/ActiveQuery.php +++ b/ActiveQuery.php @@ -87,6 +87,7 @@ class ActiveQuery extends Component implements ISqlBuilder * @return array * @throws Exception */ + #[ArrayShape([])] public function pagination(int $size = 20, int $page = 1): array { $page = max(1, $page);