This is a tiny update to correct some of the type annotations which are currently @return void when a return type is possible.
This obviously shouldn't impact any runtime behaviour, but it's causing PHPStan errors in one of my projects so it would be appreciated if we could correct the type annotations 🙂
I tried to follow the return type conventions used in other places, but please feel free to suggest superior alternatives if you believe they exist.
Hi!
This is a tiny update to correct some of the type annotations which are currently
@return void
when a return type is possible.This obviously shouldn't impact any runtime behaviour, but it's causing PHPStan errors in one of my projects so it would be appreciated if we could correct the type annotations 🙂
I tried to follow the return type conventions used in other places, but please feel free to suggest superior alternatives if you believe they exist.
Thanks for all you do 🙏