Skip to content

Commit a344a3d

Browse files
author
Bohdan Korablov
committed
MAGETWO-65208: Store checksum for every section of configuration file & change behavior on read-only FS & add sorting of importers
1 parent 20b70d3 commit a344a3d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

app/code/Magento/Deploy/Model/DeploymentConfig/ImporterPool.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,10 @@ public function getImporters()
129129

130130
$importerObj = $this->objectManager->get($importer['class']);
131131
if (!$importerObj instanceof ImporterInterface) {
132-
throw new ConfigurationMismatchException(
133-
__(
134-
'%1: Instance of %2 is expected, got %3 instead',
135-
$section,
136-
ImporterInterface::class, get_class($importerObj
137-
)
132+
throw new ConfigurationMismatchException(__(
133+
'%1: Instance of %2 is expected, got %3 instead',
134+
$section,
135+
ImporterInterface::class, get_class($importerObj)
138136
));
139137
}
140138
$result[$section] = $importerObj;

0 commit comments

Comments
 (0)