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: Add findBy method in Repository.stub #157

Closed
wants to merge 2 commits into from
Closed

Conversation

sabbelasichon
Copy link
Collaborator

Resolves: #156

Comment on lines 66 to 67
* @phpstan-param array<non-empty-string, mixed> $criteria
* @phpstan-param array<non-empty-string, QueryInterface::ORDER_*>|null $orderBy
Copy link
Owner

@sascha-egerer sascha-egerer Feb 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do wo need these both? I think we have put this into a v13 specific stub. What do you think? See https://github.com/sascha-egerer/phpstan-typo3/blob/master/src/Stubs/StubFilesExtensionLoader.php

Comment on lines 9 to 11
public const ORDER_ASCENDING = 'ASC';
public const ORDER_DESCENDING = 'DESC';

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have these to been added here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add findBy method to Repository.stub
2 participants