Skip to content

Commit

Permalink
DOMNode::$parentElement and $isConnected available since PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes authored and isfedorov committed Jul 3, 2024
1 parent ce4a493 commit d5a8396
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dom/dom_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ class DOMNode
*/
#[LanguageLevelTypeAware(['8.1' => 'string'], default: '')]
public $textContent;

#[PhpStormStubsElementAvailable(from: '8.3')]
public bool $isConnected;

#[PhpStormStubsElementAvailable(from: '8.3')]
public ?DOMElement $parentElement;

/**
Expand Down

0 comments on commit d5a8396

Please sign in to comment.