From 582a7858f5bb4d57b2397185406b031129566bef Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 26 Nov 2022 18:02:14 +0100 Subject: [PATCH] Fix --- src/Psalm/Type/Atomic/TKeyedArray.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Psalm/Type/Atomic/TKeyedArray.php b/src/Psalm/Type/Atomic/TKeyedArray.php index 8339cbf4a..fa03a34a1 100644 --- a/src/Psalm/Type/Atomic/TKeyedArray.php +++ b/src/Psalm/Type/Atomic/TKeyedArray.php @@ -530,6 +530,7 @@ class TKeyedArray extends Atomic if ($properties !== $this->properties || $fallback_params !== $this->fallback_params) { $cloned = clone $this; $cloned->properties = $properties; + $cloned->fallback_params = $fallback_params; return $cloned; } return $this;