mirror of
https://github.com/danog/amp.git
synced 2024-12-04 18:38:17 +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.
|
* be `null` on success, while the second shall be `null` on failure.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
|
*
|
||||||
|
* @psalm-mutation-free
|
||||||
*/
|
*/
|
||||||
public function onResolve(callable $onResolved);
|
public function onResolve(callable $onResolved);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user