fix property type parsing
This commit is contained in:
parent
0aef49e719
commit
95897b6278
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue