Open devnix opened 5 days ago
I found these snippets:
I posted a different report with the same example in PHPStan: https://github.com/phpstan/phpstan/issues/11839
Maybe I'm missing an already existing solution around "inner templates"? If not, would my example be an agreeable common syntax for this problem in both projects?
Yup, I don't know how to phrase the title better 😰
I'll let this snippet describe it better: https://psalm.dev/r/ffdbd898f0