From 0a743971f69da46bf645aefe0d065d46f460926f Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 3 Dec 2022 18:55:12 +0100 Subject: [PATCH] Fixes --- src/Psalm/Type/Reconciler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Psalm/Type/Reconciler.php b/src/Psalm/Type/Reconciler.php index b766b66f12b..6ec65f2967c 100644 --- a/src/Psalm/Type/Reconciler.php +++ b/src/Psalm/Type/Reconciler.php @@ -1157,14 +1157,14 @@ private static function adjustTKeyedArrayType( ksort($properties); $base_atomic_type = $base_atomic_type->setProperties($properties); } else { - // - /*$base_atomic_type = new TKeyedArray( + // This should actually be a paradox + $base_atomic_type = new TKeyedArray( $properties, null, $base_atomic_type->fallback_params, false, $base_atomic_type->from_docblock - );*/ + ); } } else { $base_atomic_type = $base_atomic_type->setProperties($properties);