Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Commit 635dd99

Browse files
authored
Merge pull request #128 from apisearch-io/fix/fixed-static
Fixed self
2 parents d95f6c2 + 21a14dc commit 635dd99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Query/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public static function create(
276276
int $size = self::DEFAULT_SIZE
277277
): self {
278278
$page = (int) (max(1, $page));
279-
$query = new self($queryText);
279+
$query = new static($queryText);
280280
$query->from = ($page - 1) * $size;
281281
$query->size = $size;
282282
$query->page = $page;

0 commit comments

Comments
 (0)