diff --git a/lib/internal/Magento/Framework/App/ObjectManagerFactory.php b/lib/internal/Magento/Framework/App/ObjectManagerFactory.php index 3f852d07462c3..1c05c58473602 100644 --- a/lib/internal/Magento/Framework/App/ObjectManagerFactory.php +++ b/lib/internal/Magento/Framework/App/ObjectManagerFactory.php @@ -260,7 +260,7 @@ protected function _loadPrimaryConfig(DirectoryList $directoryList, $driverPool, new \Magento\Framework\Filesystem\Directory\WriteFactory($driverPool) ), new \Magento\Framework\Config\FileIteratorFactory( - new \Magento\Framework\Filesystem\File\ReadFactory(new \Magento\Framework\Filesystem\DriverPool()) + new \Magento\Framework\Filesystem\File\ReadFactory($driverPool) ) ); $schemaLocator = new \Magento\Framework\ObjectManager\Config\SchemaLocator();