Skip to content

Commit 3e8b90c

Browse files
authored
#24686: Static Content Deploy - Optimize files scanning performance
Remove underscore from new method name
1 parent 1cc75d4 commit 3e8b90c

File tree

1 file changed

+3
-3
lines changed
  • lib/internal/Magento/Framework/App/Utility

1 file changed

+3
-3
lines changed

lib/internal/Magento/Framework/App/Utility/Files.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ public function getStaticPreProcessingFiles($filePattern = '*')
909909
$moduleLocalePath[] = $moduleDir . "/view/{$area}/web/i18n/{$locale}";
910910
}
911911

912-
$this->_accumulateStaticFiles($area, $filePattern, $result);
912+
$this->accumulateStaticFiles($area, $filePattern, $result);
913913
$this->_accumulateFilesByPatterns($moduleLocalePath, $filePattern, $result, '_parseModuleLocaleStatic');
914914
$this->accumulateThemeStaticFiles($area, $locale, $filePattern, $result);
915915
self::$_cache[$key] = $result;
@@ -1020,7 +1020,7 @@ protected function _accumulateFilesByPatterns(array $patterns, $filePattern, arr
10201020
/**
10211021
* Parse meta-info of a static file in module
10221022
*
1023-
* @deprecated Replaced with method _accumulateStaticFiles()
1023+
* @deprecated Replaced with method accumulateStaticFiles()
10241024
*
10251025
* @param string $file
10261026
* @return array
@@ -1049,7 +1049,7 @@ protected function _parseModuleStatic($file)
10491049
* @param array $result
10501050
* @return void
10511051
*/
1052-
private function _accumulateStaticFiles($area, $filePattern, array &$result)
1052+
private function accumulateStaticFiles($area, $filePattern, array &$result)
10531053
{
10541054
foreach ($this->componentRegistrar->getPaths(ComponentRegistrar::MODULE) as $moduleName => $moduleDir) {
10551055
$moduleWebPath = $moduleDir . "/view/{$area}/web";

0 commit comments

Comments
 (0)