Skip to content

Commit 6a82be1

Browse files
update code style
1 parent d8c0afd commit 6a82be1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup/src/Magento/Setup/Model/Installer.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ private function convertationOfOldScriptsIsAllowed(array $request)
865865
* Installs data fixtures
866866
*
867867
* @param array $request
868+
* @param boolean $keepCacheStatuses
868869
* @return void
869870
*/
870871
public function installDataFixtures(array $request = [], $keepCacheStatuses = false)
@@ -875,7 +876,7 @@ public function installDataFixtures(array $request = [], $keepCacheStatuses = fa
875876
LayoutCache::TYPE_IDENTIFIER,
876877
];
877878

878-
if($keepCacheStatuses){
879+
if ($keepCacheStatuses) {
879880
$cacheManager = $this->objectManagerProvider->get()->create(\Magento\Framework\App\Cache\Manager::class);
880881
$disabledCaches = array_filter(
881882
$cacheManager->getStatus(),
@@ -901,7 +902,7 @@ function ($value, string $key) use ($frontendCaches) {
901902
$this->handleDBSchemaData($setup, 'data', $request);
902903
$this->log->log('Enabling caches:');
903904
$this->updateCaches(true, $frontendCaches);
904-
if($keepCacheStatuses && !empty($disabledCaches)){
905+
if ($keepCacheStatuses && !empty($disabledCaches)) {
905906
$this->log->log('Disabling pre-disabled caches:');
906907
$this->updateCaches(false, array_keys($disabledCaches));
907908
}

0 commit comments

Comments
 (0)