Skip to content

Commit

Permalink
Update V1Api.php
Browse files Browse the repository at this point in the history
Signed-off-by: Rello <Rello@users.noreply.github.com>
  • Loading branch information
Rello authored Sep 20, 2023
1 parent 5144142 commit e91b988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Api/V1Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') {
Expand Down

0 comments on commit e91b988

Please sign in to comment.