From 15fa726f31c806235fdc9bb47fb8c8e2782153d8 Mon Sep 17 00:00:00 2001 From: Richard BAYET Date: Fri, 24 Jan 2025 12:24:15 +0100 Subject: [PATCH] [Healthcheck] forgotten variable initialization --- .../Model/Healthcheck/PackageVersionsMismatchCheck.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/module-elasticsuite-core/Model/Healthcheck/PackageVersionsMismatchCheck.php b/src/module-elasticsuite-core/Model/Healthcheck/PackageVersionsMismatchCheck.php index 3fc015aea..39a97a985 100644 --- a/src/module-elasticsuite-core/Model/Healthcheck/PackageVersionsMismatchCheck.php +++ b/src/module-elasticsuite-core/Model/Healthcheck/PackageVersionsMismatchCheck.php @@ -146,6 +146,7 @@ private function hasPackagesErrors(): bool private function getPackagesErrors(): array { if (null === $this->packagesErrors) { + $this->packagesErrors = []; if (!empty($this->packagesToCheck)) { $corePackageVersion = $this->productMetadata->getVersion(); $systemPackages = $this->composerInformationProvider->getComposerInformation()->getSystemPackages();