-
Notifications
You must be signed in to change notification settings - Fork 659
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
InvalidArgument: 'expects a public static callable, but a non-static callable provided' #10936
Comments
A PR is opened #10935 |
Fixed in #10935 |
greg0ire
added a commit
to greg0ire/DoctrineMongoDBBundle
that referenced
this issue
May 5, 2024
Cool, thanks! |
loevgaard
added a commit
to Setono/TagBagBundle
that referenced
this issue
May 21, 2024
I think this issue was reintroduced in 5.25.0. I am getting the same error nonetheless |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Between version 5.23.1 and 5.24.0 there is a difference in Psalm handling this code:
In
5.24.0
Psalm gives me these errors:In
5.23.1
I get no errors.The
constructor
forTwigFunction
looks like this:I am not able to reproduce the bug unfortunately: https://psalm.dev/.
I have no idea, but somehow I think it's related to this PR: #10839
The text was updated successfully, but these errors were encountered: