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

Remove Countable from execute return type #7149

Merged
merged 1 commit into from
May 2, 2021

Conversation

VincentLanglet
Copy link
Member

Subject

Patch

If I understand correctly sonata-project/SonataDoctrineMongoDBAdminBundle#585, the execute return type is not Countable. (cc @franmomu)

In the SonataAdmin we don't call count directly since we're using TraversableToCollection.

Changelog

### Fixed
- `ProxyQuery::execute()` return type ; it doesn't require to be a Countable.

Copy link
Member

@franmomu franmomu left a comment

Choose a reason for hiding this comment

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

@jordisala1991 jordisala1991 merged commit 0fbbe26 into sonata-project:3.x May 2, 2021
@jordisala1991
Copy link
Member

Thank you @VincentLanglet

@VincentLanglet VincentLanglet deleted the fixPhpdocCount branch May 2, 2021 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants