psalm icon indicating copy to clipboard operation
psalm copied to clipboard

Support declaring known type variadic named arguments

Open alex-dev opened this issue 9 months ago • 1 comments

Variadic and named arguments allow forwarding arguments to another function adding default values. Pure named arguments do not support leaving out arguments from the defaults or anything like that.

https://psalm.dev/r/8fe49d73bf

Not only are all issues in this invalid, it is missing actual issues:

  • _wolo must be a bool
  • _missing is not a valid argument

alex-dev avatar May 15 '24 17:05 alex-dev