Edgaras Levinson

Results 4 comments of Edgaras Levinson

Thank you :heart: The use case for type hints is with data providers.

I've might have just found a way to simplify this - you can interpret the type from TFactory, example taken from here https://github.com/phpstan/phpstan/discussions/9053 https://phpstan.org/r/7a4e6c92-1d39-4470-860f-890d47aee32c What do you think?

I don't think so, best I can come up right now is to just leave the signature as is and ignore the `T` https://phpstan.org/r/d7745a05-7be3-4425-b94f-6de8fb773d41 Tried a few ideas using Template...

Ah, sorry for closing this :D Sure, I'll make a PR sometime later