Updating (PHP) packages to ReactPHP Promise v3, and test your types with PHPStan – Cees-Jan Kiewiet

With version 3, react/promise adds template types to communicate what kind of data the promise will hold once resolved.
Add react/async 4.2 with https://github.com/reactphp/async/pull/40 to that and return type hints are a thing and both
PHPStan and Psalm will understand them.

Photo by Kindel Media