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

[ErrorHandler] fix parsing static return type on interface method annotation #35870

Merged
merged 1 commit into from Feb 26, 2020

Conversation

alekitto
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #35836
License MIT

As suggested in the issue, the regex has been adapted to capture the return type, then it will be checked while determining if the method to be implemented should be static or just returns an instance of static.

@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Feb 26, 2020
@nicolas-grekas nicolas-grekas changed the title [ErrorHandler] fix parsing static return type on interface method annotation (fix #35836) [ErrorHandler] fix parsing static return type on interface method annotation Feb 26, 2020
@nicolas-grekas
Copy link
Member

Thank you @alekitto.

@nicolas-grekas nicolas-grekas merged commit da0e2f9 into symfony:4.4 Feb 26, 2020
This was referenced Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ErrorHandler] DebugClassLoader reports bad static method should be implemented
5 participants