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