Skip to content

Commit a788567

Browse files
authored
Merge pull request #110 from Scornexon/fix/criteria-get-page
2 parents 8fd9d46 + 7b4e8b1 commit a788567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Criteria.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,12 @@ public function parse(): array
408408
return $params;
409409
}
410410

411-
public function getPage(): int
411+
public function getPage(): ?int
412412
{
413413
return $this->page;
414414
}
415415

416-
public function setPage(int $page): void
416+
public function setPage(?int $page): void
417417
{
418418
$this->page = $page;
419419
}

0 commit comments

Comments
 (0)