Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect hover on anon fn named args #2841

Open
bmewburn opened this issue Apr 3, 2024 · 0 comments
Open

Incorrect hover on anon fn named args #2841

bmewburn opened this issue Apr 3, 2024 · 0 comments
Labels

Comments

@bmewburn
Copy link
Owner

bmewburn commented Apr 3, 2024

Although unknown named argument was fixed, hovering over "files" still says "@var unset $files" and also the type is assumed for the closure from the default value @var \Closure(array $files, string $css_dir = 'scss'): void $loader, the css_dir argument does not define "string" as type, it defines no type, so it should be "mixed", only the default value is string.

Originally posted by @realjjaveweb in #2801 (comment)

@bmewburn bmewburn added the bug label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant