carbon-cli icon indicating copy to clipboard operation
carbon-cli copied to clipboard

Stus Have Generic Arguments and Lack Return Types

Open marshall-davis opened this issue 4 months ago • 1 comments

I believe it may be possible to determine the return type and parameters of macros using the reflection already employed so that the stubs can be more accurate.

Without this accuracy my static analysis (PHPStan) still complains about the types.

marshall-davis avatar Aug 14 '25 05:08 marshall-davis

I willing to take some time to investigate and submit a PR if possible.

marshall-davis avatar Aug 14 '25 05:08 marshall-davis