diff --git a/lib/Promise.php b/lib/Promise.php index c758193..47b6248 100644 --- a/lib/Promise.php +++ b/lib/Promise.php @@ -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); }