Bug report
When using named arguments while calling a function that has both optional and variadic parameters PHPstan reports unknown parameters when not all of the optional parameters are used to call the function.
Code snippet that reproduces the problem
https://phpstan.org/r/993fc76c-dd25-46ca-b607-0dbcd2105b5b
Expected output
No errors.