1
0
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:
Niklas Keller 2020-03-21 21:15:39 +01:00
parent 93fec17736
commit d2025541b2

View File

@ -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);
} }