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

Omit () on zero-argument anonymous classes. #37

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

Crell
Copy link
Collaborator

@Crell Crell commented Aug 10, 2022

Replaces #24

@KorvinSzanto
Copy link
Contributor

It'd be good to update the class instantiation requirement to mention this exception as well since it contradicts this a bit

Co-authored-by: Korvin Szanto <Korvinszanto@gmail.com>
@KorvinSzanto KorvinSzanto merged commit 9dc210d into php-fig:master Aug 30, 2022
@Crell Crell deleted the anon-classes branch September 1, 2022 19: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.

3 participants