vscode-php-getters-setters icon indicating copy to clipboard operation
vscode-php-getters-setters copied to clipboard

please update property.getType()

Open kvascom opened this issue 3 years ago • 3 comments
trafficstars

I love your extension but nowadays its boring to use it with doc bloc. I would love you to update finding types from the lines like this -> protective string $variable I already updated the code so I can at least use it from short doc bloc like this -> /** @var string */

kvascom avatar Mar 17 '22 13:03 kvascom

@MKvasco please consider renaming this subject of this ticket. You are correct, this plugin doesn't support proper method return typing. This is a big issue and it needs to be fixed or else it's just severely out of date now.

oojacoboo avatar Nov 21 '22 03:11 oojacoboo

@phproberto Any word on support for this? The property object isn't getting the proper type from the actual property being returned on getters. It appears that getType and getTypeHint both don't support the actual method signature scope - only the jsdoc.

oojacoboo avatar Nov 21 '22 03:11 oojacoboo