From 8d246d6af42970d14db2107be360b025f490fca2 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 21 Apr 2023 15:52:21 +0200 Subject: [PATCH] Remove leftovers --- src/Psalm/Internal/Type/ParseTree/GenericTree.php | 5 +---- src/Psalm/Type.php | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Psalm/Internal/Type/ParseTree/GenericTree.php b/src/Psalm/Internal/Type/ParseTree/GenericTree.php index 29a2c7704..cefe8e4bb 100644 --- a/src/Psalm/Internal/Type/ParseTree/GenericTree.php +++ b/src/Psalm/Internal/Type/ParseTree/GenericTree.php @@ -13,12 +13,9 @@ class GenericTree extends ParseTree public bool $terminated = false; - public bool $is_unsealed_array_shape; - - public function __construct(string $value, ?ParseTree $parent = null, bool $is_unsealed_array_shape = false) + public function __construct(string $value, ?ParseTree $parent = null) { $this->value = $value; $this->parent = $parent; - $this->is_unsealed_array_shape = $is_unsealed_array_shape; } } diff --git a/src/Psalm/Type.php b/src/Psalm/Type.php index 7930c5271..4f667d19f 100644 --- a/src/Psalm/Type.php +++ b/src/Psalm/Type.php @@ -488,6 +488,8 @@ abstract class Type /** * @psalm-pure + * + * @psalm-suppress ImpureStaticProperty Used for caching */ public static function getListKey(bool $from_docblock = false): Union {