1
0
Fork 0

modify comment and merge master

pull/416/head
jens1o 2017-06-17 11:25:31 +02:00
parent 8404b5de73
commit 0af2cb266c
1 changed files with 2 additions and 2 deletions

View File

@ -543,8 +543,8 @@ class DefinitionResolver
) {
return $n;
}
// foreach ([0, 1, 2, 3] as $foreachKey => $foreachValue) {}
// foreach loops
if ($n instanceof Node\Statement\ForeachStatement) {
if ($n->foreachValue !== null && $n->foreachValue->getText() === $name) {
return $n->foreachValue;