Skip to content

Commit 2b33196

Browse files
Keep original formatting in _parseModuleStatic()
1 parent 6ac4153 commit 2b33196

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,10 +1050,10 @@ protected function _parseModuleStatic($file)
10501050
{
10511051
foreach ($this->componentRegistrar->getPaths(ComponentRegistrar::MODULE) as $moduleName => $modulePath) {
10521052
if (preg_match(
1053-
'/^' . preg_quote("{$modulePath}/", '/') . 'view\/([a-z]+)\/web\/(.+)$/i',
1054-
$file,
1055-
$matches
1056-
) === 1
1053+
'/^' . preg_quote("{$modulePath}/", '/') . 'view\/([a-z]+)\/web\/(.+)$/i',
1054+
$file,
1055+
$matches
1056+
) === 1
10571057
) {
10581058
list(, $area, $filePath) = $matches;
10591059
return [$area, '', '', $moduleName, $filePath, $file];

0 commit comments

Comments
 (0)