We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1016890 + 107ac4a commit a35ec03Copy full SHA for a35ec03
src/Node.php
@@ -91,7 +91,7 @@ public function getFirstAncestor(...$classNames) {
91
* Gets first child that is an instance of one of the provided classes.
92
* Returns null if there is no match.
93
*
94
- * @param array ...$classNames
+ * @param string ...$classNames
95
* @return Node|null
96
*/
97
public function getFirstChildNode(...$classNames) {
@@ -117,7 +117,7 @@ public function getFirstChildNode(...$classNames) {
117
* Gets first descendant node that is an instance of one of the provided classes.
118
119
120
121
122
123
public function getFirstDescendantNode(...$classNames) {
0 commit comments