From ff46973ab16353320ac7e75e52a9521b5fd8359a Mon Sep 17 00:00:00 2001 From: George Steel Date: Tue, 23 Aug 2022 14:10:34 +0100 Subject: [PATCH] Baselines psalm issues with SplPriorityQueue Signed-off-by: George Steel --- psalm-baseline.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/psalm-baseline.xml b/psalm-baseline.xml index bab25375..e7f39066 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -192,7 +192,9 @@ $node ? $node['data'] : false - + + static fn($item) => $flag === self::EXTR_PRIORITY ? $item['priority'] : $item['data'] + next @@ -205,12 +207,22 @@ + + is_array($priority) + void + + $priority + $priority + public function insert($datum, $priority) + + $item['data'] +