diff --git a/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php b/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php index c64fff1d5..750aeaaab 100644 --- a/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php +++ b/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php @@ -156,6 +156,7 @@ class ClassLikeStorageProvider public static function deleteAll() { self::$storage = []; + self::$new_storage = []; } /**