Closed yokozawa0701 closed 5 months ago
In theory that was handled by https://github.com/sirbrillig/phpcs-variable-analysis/pull/266 and https://github.com/sirbrillig/phpcs-variable-analysis/issues/290 but I wouldn't be surprised if there's a bug with nullable types. I'll try to fix it.
Thank you so much!
I want to use Nullable types in a constructor promotion like following.
But it showed
Unused function parameter $name. (VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable)
. Is it possible to use like this?