Skip to content

Update DomNode return type#4137

Merged
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
VincentLanglet:fix/dom
Jul 21, 2025
Merged

Update DomNode return type#4137
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
VincentLanglet:fix/dom

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

Cf https://www.php.net/manual/en/class.domnode.php

I copied #3737 and used benevolent union.

@ondrejmirtes ondrejmirtes merged commit eda9ffd into phpstan:2.1.x Jul 21, 2025
415 of 420 checks passed
@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