变更
This commit is contained in:
@@ -87,6 +87,7 @@ class ActiveQuery extends Component implements ISqlBuilder
|
|||||||
* @return array
|
* @return array
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
|
#[ArrayShape([])]
|
||||||
public function pagination(int $size = 20, int $page = 1): array
|
public function pagination(int $size = 20, int $page = 1): array
|
||||||
{
|
{
|
||||||
$page = max(1, $page);
|
$page = max(1, $page);
|
||||||
|
|||||||
Reference in New Issue
Block a user