How can i typehint a string as a method name on a class for static analysis with phpstan / phpstorm
I am currently upgrading a project to use phpstan to better catch type errors, @template
and class-string
have been particularly helpfull
I am currently upgrading a project to use phpstan to better catch type errors, @template
and class-string
have been particularly helpfull