From d2025541b29d275ddba3784f3c59416ba5777f56 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sat, 21 Mar 2020 21:15:39 +0100 Subject: [PATCH] Fix psalm annotation for Amp\Promise --- lib/Promise.php | 2 ++ 1 file changed, 2 insertions(+) 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); }