Currently we determine the type of a property by parsing the doc-block.
As of php7.4 this is not needed anymore because typed properties have been added which can be read out by reflection.
Besides reading out the type data we need to change the way we read out the property value.
A property might not be set and accessing a typed property before initialization will trigger an error.
We should do an isset check before accessing.
Currently we determine the type of a property by parsing the doc-block. As of php7.4 this is not needed anymore because typed properties have been added which can be read out by reflection.
Besides reading out the type data we need to change the way we read out the property value. A property might not be set and accessing a typed property before initialization will trigger an error. We should do an isset check before accessing.