diff --git a/classes/UpgradeContainer.php b/classes/UpgradeContainer.php index e8df4a7eb..15da39a4f 100644 --- a/classes/UpgradeContainer.php +++ b/classes/UpgradeContainer.php @@ -721,7 +721,7 @@ public function getPhpVersionResolverService(): PhpVersionResolverService $this->phpVersionResolverService = new PhpVersionResolverService( $this->getDistributionApiService(), $this->getFileLoader(), - $this->getState()->getCurrentVersion() + $this->getProperty(self::PS_VERSION) ); return $this->phpVersionResolverService;