From 98994e226d6243f6656200e13a4075d9260e51bb Mon Sep 17 00:00:00 2001 From: Aleksei Gagarin Date: Wed, 4 Oct 2023 19:50:40 +0400 Subject: [PATCH] Add the `yield` annotation --- src/PromiseInterface.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PromiseInterface.php b/src/PromiseInterface.php index 5869f76..42ad0b4 100644 --- a/src/PromiseInterface.php +++ b/src/PromiseInterface.php @@ -4,6 +4,7 @@ /** * @template-covariant T + * @yield T */ interface PromiseInterface {