Open ozon1234 opened 2 years ago
I found these snippets:
This will work fine: https://psalm.dev/r/0086707d3d
As a default, Psalm expects you to provide docblocks to your callbacks.
However, I think this could probably be improved for known functions. Possibly with a ParamsTypeProvider (through the Psalm's plugin system).
Please ping me if you're interested in giving it a try!
I found these snippets:
https://psalm.dev/r/dcd5b2f8f8