From 14de97ea7d52f743d2ed9f63cf0863d3455310f9 Mon Sep 17 00:00:00 2001 From: Jakub Kulhan Date: Tue, 2 Jul 2024 14:58:10 +0200 Subject: [PATCH] limit and offset might be int as well --- data-access-kit/src/Repository/Attribute/Find.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-access-kit/src/Repository/Attribute/Find.php b/data-access-kit/src/Repository/Attribute/Find.php index 8452780..829675d 100644 --- a/data-access-kit/src/Repository/Attribute/Find.php +++ b/data-access-kit/src/Repository/Attribute/Find.php @@ -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, ) {