Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Set correct return type #2222

Merged
merged 1 commit into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/AbstractDemandedRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ abstract protected function createOrderingsFromDemand(DemandInterface $demand):
* @param bool $respectEnableFields
* @param bool $disableLanguageOverlayMode
*
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface
*/
public function findDemanded(DemandInterface $demand, $respectEnableFields = true, $disableLanguageOverlayMode = false)
{
Expand Down
6 changes: 3 additions & 3 deletions Classes/Domain/Repository/CategoryRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function findOneByImportSourceAndImportId($importSource, $importId, $asAr
*
* @param int $pid pid
*
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface
*/
public function findParentCategoriesByPid($pid)
{
Expand Down Expand Up @@ -134,7 +134,7 @@ public function findTree(array $rootIdList, $startingPoint = null)
* @param array $idList list of id s
* @param array $ordering ordering
*
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface
*/
public function findByIdList(array $idList, array $ordering = [], $startingPoint = null)
{
Expand Down Expand Up @@ -167,7 +167,7 @@ public function findByIdList(array $idList, array $ordering = [], $startingPoint
*
* @param int $parent parent
*
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface
*/
public function findChildren($parent)
{
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Repository/TagRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TagRepository extends AbstractDemandedRepository
* @param array $ordering ordering
* @param string $startingPoint starting point uid or comma separated list
*
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface
*/
public function findByIdList(array $idList, array $ordering = [], $startingPoint = null)
{
Expand Down