Overrides ConstStub::__construct
public function __construct(\ReflectionProperty $property) { parent::__construct('~' . ($property->hasType() ? ' ' . $property->getType() : ''), 'Virtual property'); $this->attr['virtual'] = true; }