mirror of
https://github.com/danog/amp.git
synced 2024-12-03 09:57:51 +01:00
Fix psalm annotation for Amp\Promise
This commit is contained in:
parent
93fec17736
commit
d2025541b2
@ -27,6 +27,8 @@ interface Promise
|
||||
* be `null` on success, while the second shall be `null` on failure.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @psalm-mutation-free
|
||||
*/
|
||||
public function onResolve(callable $onResolved);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user