Skip to content

Commit

Permalink
limit and offset might be int as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubkulhan committed Jul 2, 2024
1 parent 8c6ddfa commit 14de97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-access-kit/src/Repository/Attribute/Find.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public function __construct(
public readonly string $alias = "t",
public readonly ?string $where = null,
public readonly ?string $orderBy = null,
public readonly ?string $limit = null,
public readonly ?string $offset = null,
public readonly string|int|null $limit = null,
public readonly string|int|null $offset = null,
public readonly ?string $for = null,
)
{
Expand Down

0 comments on commit 14de97e

Please sign in to comment.