Skip to content

Commit cce924a

Browse files
committed
Refactor getPaginatedChildren method parameter order for consistency
1 parent 84b20ac commit cce924a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dtos/ContentDto.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function getChildren()
128128
return $this->children = $result;
129129
}
130130

131-
public function getPaginatedChildren($perPage = 10, $pageName = 'page', $page = null, $isWebPage = null, $isPublished = null, $withRelations = [], $sorting = [])
131+
public function getPaginatedChildren($page = 1, $perPage = 10, $pageName = 'page', $isWebPage = null, $isPublished = null, $withRelations = [], $sorting = [])
132132
{
133133
$query = $this->getModel()->children();
134134

0 commit comments

Comments
 (0)