From 7d40748af74323c4711cc20a85f98abb3ff41675 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 28 Jun 2024 11:38:06 +0200 Subject: [PATCH] [PHPDoc] Fixed LocationService::loadLocationChildren doc (#395) [PHPDoc] Fixed LocationService::loadLocationChildren legacy NS refs --- src/contracts/Repository/LocationService.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/contracts/Repository/LocationService.php b/src/contracts/Repository/LocationService.php index 0095fefda4..c92755ef7c 100644 --- a/src/contracts/Repository/LocationService.php +++ b/src/contracts/Repository/LocationService.php @@ -98,15 +98,12 @@ public function loadLocations(ContentInfo $contentInfo, ?Location $rootLocation * Loads children which are readable by the current user of a location object sorted by sortField and sortOrder. * * Use this method with caution. It performs heavy queries on the database. - * Consider using {@see \eZ\Publish\API\Repository\SearchService::findLocations()} with - * {@see \eZ\Publish\Core\QueryType\BuiltIn\ChildrenQueryType} as an alternative. + * Consider using {@see \Ibexa\Contracts\Core\Repository\SearchService::findLocations()} with + * {@see \Ibexa\Core\QueryType\BuiltIn\ChildrenQueryType} as an alternative. * - * @param \Ibexa\Contracts\Core\Repository\Values\Content\Location $location * @param int $offset the start offset for paging * @param int $limit the number of locations returned * @param string[]|null $prioritizedLanguages Used as prioritized language code on translated properties of returned object. - * - * @return \Ibexa\Contracts\Core\Repository\Values\Content\LocationList */ public function loadLocationChildren(Location $location, int $offset = 0, int $limit = 25, ?array $prioritizedLanguages = null): LocationList;