Skip to content

Commit

Permalink
[BUGFIX] Uncaught TYPO3 Exception Too few arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kitzberger authored and achimfritz committed Feb 14, 2024
1 parent b43b40c commit 5fa04b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Integrity/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function getChildrenByContainerAndColPos(int $containerId, int $colPos, i
return (array)$stm->fetchAllAssociative();
}

public function getContainerRecords(array $cTypes, ?int $pid): array
public function getContainerRecords(array $cTypes, ?int $pid = null): array
{
$queryBuilder = $this->getQueryBuilder();
$stm = $queryBuilder
Expand Down Expand Up @@ -170,7 +170,7 @@ public function getContainerRecords(array $cTypes, ?int $pid): array
return $rows;
}

public function getContainerRecordsFreeMode(array $cTypes, ?int $pid): array
public function getContainerRecordsFreeMode(array $cTypes, ?int $pid = null): array
{
$queryBuilder = $this->getQueryBuilder();
$stm = $queryBuilder
Expand Down

0 comments on commit 5fa04b2

Please sign in to comment.