Skip to content

Commit 696acc3

Browse files
committed
Remove unused variable
1 parent b8023f9 commit 696acc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function getLastChild() {
399399
* @return Node|null
400400
*/
401401
public function getDescendantNodeAtPosition(int $pos) {
402-
foreach ($this->getChildNodes() as $name => $child) {
402+
foreach ($this->getChildNodes() as $child) {
403403
if ($child->containsPosition($pos)) {
404404
$node = $child->getDescendantNodeAtPosition($pos);
405405
if (!is_null($node)) {

0 commit comments

Comments
 (0)