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

Fix return typehints in ListBuilderInterface #4833

Merged

Conversation

niklasnatter
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
License MIT

What's in this PR?

This PR fixes the documented return types of various methods of the ListBuilderInterface.

Why?

Because I dont like that phpstan forces me to check if $listBuilder->createOrExpression() returns null in every project.

@danrot danrot merged commit c552a02 into sulu:release/2.0 Oct 21, 2019
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.

2 participants