modify comment and merge master
parent
8404b5de73
commit
0af2cb266c
|
@ -544,7 +544,7 @@ class DefinitionResolver
|
||||||
return $n;
|
return $n;
|
||||||
}
|
}
|
||||||
|
|
||||||
// foreach ([0, 1, 2, 3] as $foreachKey => $foreachValue) {}
|
// foreach loops
|
||||||
if ($n instanceof Node\Statement\ForeachStatement) {
|
if ($n instanceof Node\Statement\ForeachStatement) {
|
||||||
if ($n->foreachValue !== null && $n->foreachValue->getText() === $name) {
|
if ($n->foreachValue !== null && $n->foreachValue->getText() === $name) {
|
||||||
return $n->foreachValue;
|
return $n->foreachValue;
|
||||||
|
|
Loading…
Reference in New Issue