From 471299bd2135de932cdb64368f2f51f9135be0dd Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 22 Jun 2021 08:46:29 +0300 Subject: [PATCH] fix installer --- install/core/Installer.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install/core/Installer.php b/install/core/Installer.php index 09518a39b0..5f784ef5e1 100644 --- a/install/core/Installer.php +++ b/install/core/Installer.php @@ -259,7 +259,10 @@ class Installer public function getSystemRequirementList($type, $requiredOnly = false, array $additionalData = null) { - $systemRequirementManager = new SystemRequirements($this->app->getContainer()); + $systemRequirementManager = $this->app + ->getContainer() + ->get('injectableFactory') + ->create(SystemRequirements::class); return $systemRequirementManager->getRequiredListByType($type, $requiredOnly, $additionalData); }