From e91b988ae7f50267804e8cef442a4d4aeb495dba Mon Sep 17 00:00:00 2001 From: Rello Date: Wed, 20 Sep 2023 13:43:02 +0200 Subject: [PATCH] Update V1Api.php Signed-off-by: Rello --- lib/Api/V1Api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Api/V1Api.php b/lib/Api/V1Api.php index 2e3bbf2d6..2d58dc961 100644 --- a/lib/Api/V1Api.php +++ b/lib/Api/V1Api.php @@ -27,7 +27,7 @@ public function __construct(ColumnService $columnService, RowService $rowService * @param int $tableId * @param int|null $limit * @param int|null $offset - * @param int|null $userId + * @param string|null $userId * @param string|null $nodeType * @return array * @throws DoesNotExistException @@ -36,7 +36,7 @@ public function __construct(ColumnService $columnService, RowService $rowService * @throws NotFoundError * @throws PermissionError */ - public function getData(int $tableId, ?int $limit, ?int $offset, ?int $userId, ?string $nodeType = null): array + public function getData(int $tableId, ?int $limit, ?int $offset, ?string $userId, ?string $nodeType = null): array { if ($userId) $this->userId = $userId; if ($nodeType === 'view') {