Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit f951061

Browse files
author
Edson Medina
committed
Fixed notice #79
1 parent 6642753 commit f951061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NodeWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getName()
7474
$name .= $separator . $this->node->name;
7575
}
7676
}
77-
else
77+
elseif (isset($this->node->var))
7878
{
7979
if ($this->node->var->name instanceof Expr\Variable)
8080
{

0 commit comments

Comments
 (0)