From 00694b5c2a810e27d65a2abb880467deef50be1e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 15 Feb 2024 12:55:43 +0100 Subject: [PATCH] Fix --- src/Psalm/Internal/Fork/PsalmRestarter.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Psalm/Internal/Fork/PsalmRestarter.php b/src/Psalm/Internal/Fork/PsalmRestarter.php index 0aff8ff7b38..df5232bcebb 100644 --- a/src/Psalm/Internal/Fork/PsalmRestarter.php +++ b/src/Psalm/Internal/Fork/PsalmRestarter.php @@ -164,9 +164,7 @@ protected function restart($command): void $additional_options []= "-dopcache.{$key}={$value}"; } - if ($opcache_loaded) { - $additional_options[] = '-dopcache.save_comments=1'; - } + $additional_options[] = '-dopcache.save_comments=1'; array_splice( $command,