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') {