Skip to content

Conversation

VincentLanglet
Copy link
Contributor

  1. This seems to still be nullable:
    For instance https://3v4l.org/mMQj8#v8.4.11

  2. According to DOM stubbed properties not working phpstan#8837 this wasn't working anyway.

You also might want to close the issue phpstan/phpstan#8837 since it asked to infer DomElement::ownerDocument as non nullable while the 3v4l example is showing it can be null.

@VincentLanglet VincentLanglet marked this pull request as ready for review August 1, 2025 21:24
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes
Copy link
Member

Please fix conflicts.

@ondrejmirtes ondrejmirtes merged commit b69738c into phpstan:2.1.x Sep 2, 2025
262 of 264 checks passed
@ondrejmirtes
Copy link
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.

3 participants