php-standard-library / psalm-plugin

Psalm integration for the PHP Standard Library
MIT License
24 stars 6 forks source link

fix: support callables in pipe #13

Closed thomasvargiu closed 1 year ago

thomasvargiu commented 1 year ago

This fix add support for callables in pipe function

veewee commented 1 year ago

Thanks for the PR. Sadly ...

PSL doesn't support callables, only closures: https://github.com/azjezz/psl/blob/next/src/Psl/Fun/pipe.php#L21