offset/limit for standard terminology in API
This commit is contained in:
parent
3b31187ea1
commit
64c98e4755
1 changed files with 2 additions and 2 deletions
|
@ -170,9 +170,9 @@ class Image
|
|||
* @return Image[]
|
||||
*/
|
||||
#[Query(name: "posts", type: "[Post!]!", args: ["tags" => "[string!]"])]
|
||||
public static function find_images(?int $start = 0, ?int $limit = null, array $tags=[]): array
|
||||
public static function find_images(?int $offset = 0, ?int $limit = null, array $tags=[]): array
|
||||
{
|
||||
$result = self::find_images_internal($start, $limit, $tags);
|
||||
$result = self::find_images_internal($offset, $limit, $tags);
|
||||
|
||||
$images = [];
|
||||
foreach ($result as $row) {
|
||||
|
|
Reference in a new issue