mirror of
https://github.com/danog/amp.git
synced 2024-12-12 09:29:45 +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