Has any thought been given to supporting phpstan/psalm generics e.g.
class Foo
{
/**
* @return Promise<MyDomainThing>
*/
public function wait(): Promise { // ... }
}
Otherewise, what's the best way to document a Promise that's compatible with SA tools?