From 27fcf6e163fe0e6c0059e54a9f0047aaaca61838 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Tue, 20 Oct 2020 09:36:38 -0400 Subject: [PATCH] Revert change to array shape display --- src/Psalm/Type/Atomic/TKeyedArray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Type/Atomic/TKeyedArray.php b/src/Psalm/Type/Atomic/TKeyedArray.php index b6c503dc68e..5ee1a4796a9 100644 --- a/src/Psalm/Type/Atomic/TKeyedArray.php +++ b/src/Psalm/Type/Atomic/TKeyedArray.php @@ -123,7 +123,7 @@ function ($name, Union $type): string { implode(', ', $property_strings) . '}' . ($this->previous_value_type - ? '&<' . ($this->previous_key_type ? $this->previous_key_type->getId() . ', ' : '') + ? '<' . ($this->previous_key_type ? $this->previous_key_type->getId() . ', ' : '') . $this->previous_value_type->getId() . '>' : ''); }