We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1258a9 + a71ab34 commit 9932c87Copy full SHA for 9932c87
src/Node.php
@@ -399,7 +399,7 @@ public function getLastChild() {
399
* @return Node|null
400
*/
401
public function getDescendantNodeAtPosition(int $pos) {
402
- foreach ($this->getChildNodes() as $name => $child) {
+ foreach ($this->getChildNodes() as $child) {
403
if ($child->containsPosition($pos)) {
404
$node = $child->getDescendantNodeAtPosition($pos);
405
if (!is_null($node)) {
src/Parser.php
@@ -1001,8 +1001,6 @@ private function parseStringLiteralExpression2($parentNode) {
1001
continue;
1002
}
1003
1004
-
1005
- return $expression;
1006
1007
1008
/**
0 commit comments