You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, we still need doc comments for certain types like arrays to provide better hints for IDEs and static code analysis tools like PHPStan. Therefor it would be useful to pass a string containing a DocComment to MethodGenerator and PropertyGenerator.
As a workaround I added the functionality using a custom node visitor like this one:
Unfortunately, we still need doc comments for certain types like arrays to provide better hints for IDEs and static code analysis tools like PHPStan. Therefor it would be useful to pass a string containing a DocComment to
MethodGenerator
andPropertyGenerator
.As a workaround I added the functionality using a custom node visitor like this one:
The text was updated successfully, but these errors were encountered: