This commit is contained in:
2022-05-30 16:55:42 +08:00
parent 01d58b4896
commit 56a20d0f90
+1
View File
@@ -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);