Skip to content

Commit

Permalink
[PHPDoc] Fixed LocationService::loadLocationChildren doc (#395)
Browse files Browse the repository at this point in the history
[PHPDoc] Fixed LocationService::loadLocationChildren legacy NS refs
  • Loading branch information
alongosz authored Jun 28, 2024
1 parent 52beb2f commit 7d40748
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/contracts/Repository/LocationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7d40748

Please sign in to comment.