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

Add native return type to commands #1392

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Conversation

nicolas-grekas
Copy link
Member

Similar to doctrine/collections#269 and related PRs.
Should help fix related deprecations.

@ostrolucky
Copy link
Member

Why not adding real type declarations?

@nicolas-grekas
Copy link
Member Author

Why not adding real type declarations?

you mean we could because @final?

@ostrolucky
Copy link
Member

Well all of them are final or deprecated, so yeah it's fine to have native type declarations from my POV

@nicolas-grekas nicolas-grekas changed the title Use explicit @return in commands Add native return type in commands Aug 26, 2021
@nicolas-grekas nicolas-grekas changed the title Add native return type in commands Add native return type to commands Aug 26, 2021
@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Aug 26, 2021

Works for me, PR updated.

@ostrolucky ostrolucky added this to the 2.4.3 milestone Aug 26, 2021
@ostrolucky ostrolucky merged commit 984bbc5 into doctrine:2.4.x Aug 26, 2021
@nicolas-grekas nicolas-grekas deleted the ret branch July 28, 2022 13:41
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.

3 participants