Skip to content

Allow visitor to handle all ClassLike nodes#454

Merged
szepeviktor merged 1 commit intophp-stubs:masterfrom
IanDelMar:classlike
Feb 28, 2026
Merged

Allow visitor to handle all ClassLike nodes#454
szepeviktor merged 1 commit intophp-stubs:masterfrom
IanDelMar:classlike

Conversation

@IanDelMar
Copy link
Copy Markdown
Contributor

The visitor is currently restricted to classes. Although visiting interfaces, abstract classes, and enums has no effect at the moment, there is no good reason to keep this limitation. This change allows the visitor to handle all ClassLike nodes.

@szepeviktor szepeviktor merged commit ab0a5d9 into php-stubs:master Feb 28, 2026
8 checks passed
@IanDelMar IanDelMar deleted the classlike branch February 28, 2026 11:20
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