fix property type parsing

This commit is contained in:
Ivan Fedorov 2020-06-27 20:23:33 +03:00 committed by Ivan Fedorov
parent 0aef49e719
commit 95897b6278
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class PHPProperty extends BasePHPElement
$this->access = $access;
$this->type = $node->type ?? "";
$this->type = $node->type->name ?? "";
$parentNode = $node->getAttribute('parent');
if ($parentNode !== null){