-
-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Labels
Description
Hey,
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?
Psalm has some stubs for Amp: https://github.com/vimeo/psalm/blob/master/src/Psalm/Internal/Stubs/Amp.php
Reactions are currently unavailable