Skip to content

Commit

Permalink
[TASK] Rename ->execute() to ->executeQuery()
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Oct 29, 2024
1 parent 26bd61a commit 3d2fd48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/Domain/Repository/PageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ protected function getChildrenPageIdentifiers(int $pageIdentifier, bool $addHidd
if ($addHidden === false) {
$queryBuilder->getRestrictions()->add(GeneralUtility::makeInstance(HiddenRestriction::class));
}
$result = $queryBuilder->execute()->fetchAllKeyValue();
$result = $queryBuilder
->executeQuery()
->fetchAllKeyValue();
return array_values($result);
}
}

0 comments on commit 3d2fd48

Please sign in to comment.