Open Xsaven opened 4 months ago
Hi @Xsaven, can you share some example source code?
This is the class I'm trying to parse Here is the code of the parser itself
I believe you are wanting the isStatic
and visibility
properties on the PropertyStatement
object (the parent of the properties array containing the Property you highlighted in your class).
I found this counterintuitive, but the properties array is there to handle declaring multiple properties in one statement (though I never see anyone use this format): protected static ?string $test = null, $test2= 'str';
I do not think there is a bug here though.
@mreiden What do you mean you don't think there is a mistake there? The fact remains that there is no isStatic property!
This property is static in my code, but in the node there is not a single identifying sign that it is static, so I cannot assemble the code correctly.