Alexandr
Alexandr
Hi @brmn and @deios0 ! I'm sorry I did not answer for so long. I am glad that my library someone has been helpful. I do not plan to add...
As we can see [AbstractDefinition::getPointer](https://github.com/ovr/phpsa/blob/master/src/Definition/AbstractDefinition.php#L44), property `ScopePointer::$object` can be one of the following: [ClassMethod](https://github.com/ovr/phpsa/blob/master/src/Definition/ClassMethod.php#L15), [ClosureDefinition](https://github.com/ovr/phpsa/issues/224), [FunctionDefinition](https://github.com/ovr/phpsa/blob/master/src/Definition/FunctionDefinition.php#L17), [ReflectionClassMethod](https://github.com/ovr/phpsa/blob/master/src/Definition/ReflectionClassMethod.php#L12), [RuntimeClassDefinition](https://github.com/ovr/phpsa/blob/master/src/Definition/RuntimeClassDefinition.php#L12), [TraitDefinition](https://github.com/ovr/phpsa/blob/master/src/Definition/TraitDefinition.php#L12), [ClassDefinition](https://github.com/ovr/phpsa/blob/master/src/Definition/ClassDefinition.php#L18). So what about this version of `ScopePointer`? https://github.com/Lexty/phpsa/blob/182-scope-pointer-strict-type/src/ScopePointer.php