Skip to content

Add ClassReflection->is() shortcut#1468

Merged
ondrejmirtes merged 2 commits intophpstan:1.7.xfrom
janedbal:reflection-is-a
Jun 23, 2022
Merged

Add ClassReflection->is() shortcut#1468
ondrejmirtes merged 2 commits intophpstan:1.7.xfrom
janedbal:reflection-is-a

Conversation

@janedbal
Copy link
Copy Markdown
Contributor

Since is_a function was forbidden in recent phpstan version, it is quite handy to have some single-call replacement.

@janedbal janedbal requested a review from ondrejmirtes June 23, 2022 12:58
@ondrejmirtes ondrejmirtes merged commit e15f8f7 into phpstan:1.7.x Jun 23, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

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