File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99/**
1010 * Pagination metadata.
1111 */
12- class Pagination implements Stringable
12+ class PaginationMetadata implements Stringable
1313{
1414 /**
1515 * @var integer Number of items per page.
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ class SearchResponse extends BaseResponse implements Stringable
1818 public SearchModels $ models ;
1919
2020 /**
21- * @var Pagination Pagination metadata for the search results.
21+ * @var PaginationMetadata Pagination metadata for the search results.
2222 */
23- public Pagination $ pagination ;
23+ public PaginationMetadata $ pagination ;
2424
2525 /**
2626 * @param array<string, int|float|string|bool|null|array<array-key, mixed>> $rawResponse Raw server response array.
@@ -29,7 +29,7 @@ public function __construct(array $rawResponse)
2929 {
3030 parent ::__construct ($ rawResponse );
3131 $ this ->models = new SearchModels ($ rawResponse ['models ' ]);
32- $ this ->pagination = new Pagination ($ rawResponse ['pagination ' ]);
32+ $ this ->pagination = new PaginationMetadata ($ rawResponse ['pagination ' ]);
3333 }
3434
3535 /**
You can’t perform that action at this time.
0 commit comments