Skip to content

Remove DomNode::ownerDocument stub #4197

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

Open
wants to merge 1 commit into
base: 2.1.x
Choose a base branch
from

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.

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