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

execute() - Update return types for more methods #208

Merged
merged 2 commits into from
Aug 10, 2024

Conversation

totten
Copy link
Member

@totten totten commented Aug 10, 2024

This should fix errors in a few more scenarios (by explicitly returning 0). Additionally, it should give better IDE hints. (It may also make the code more interoperable with newer Symfony versions, but that's a fringe improvement.)

This is strictly necessary for Symfony 5. However, the actual beahvior
in S5 is the throw an error if you don't return `int`.  So we might
as well get the IDE to give hints about this.
@totten totten merged commit 3889cb2 into civicrm:master Aug 10, 2024
1 check passed
@totten totten deleted the master-return branch August 10, 2024 20:53
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.

1 participant