Skip to content

Commit d95e6bb

Browse files
committed
Merge pull request sunra#17 from WanderingZombie/patch-1
add PHPDoc for $children
2 parents 4a18187 + 1e9b0bd commit d95e6bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ class simple_html_dom_node
116116
public $nodetype = HDOM_TYPE_TEXT;
117117
public $tag = 'text';
118118
public $attr = array();
119+
/** @var simple_html_dom_node[] $children */
119120
public $children = array();
120121
public $nodes = array();
121122
public $parent = null;
@@ -1718,4 +1719,4 @@ function getElementsByTagName($name, $idx=-1) {return $this->find($name, $idx);}
17181719
function loadFile() {$args = func_get_args();$this->load_file($args);}
17191720
}
17201721

1721-
?>
1722+
?>

0 commit comments

Comments
 (0)