From bf0513bafcd4ec52478870ecc3db9011ded703e8 Mon Sep 17 00:00:00 2001 From: George Steel Date: Wed, 8 Jun 2022 12:24:52 +0100 Subject: [PATCH] Fix incorrect return type annotation Signed-off-by: George Steel --- src/PriorityQueue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PriorityQueue.php b/src/PriorityQueue.php index 1360a5cd..bdf01ab6 100644 --- a/src/PriorityQueue.php +++ b/src/PriorityQueue.php @@ -277,7 +277,7 @@ public function __unserialize($data) * * @param int $flag * @return array - * @psalm-return ($flag is self::EXTR_DATA + * @psalm-return ($flag is self::EXTR_BOTH * ? list * : $flag is self::EXTR_PRIORITY * ? list