Skip to content

Commit 6753d71

Browse files
Fix code style
1 parent 753de17 commit 6753d71

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

lib/internal/Magento/Framework/View/Asset/PreProcessor/AlternativeSource.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,13 @@ private function processContent($path, $content, $module, FallbackContext $conte
139139
->setTheme($context->getThemePath())
140140
->setLocale($context->getLocale())
141141
->setModule($module)
142-
->setPath(preg_replace(
143-
'#\.' . preg_quote(pathinfo($path, PATHINFO_EXTENSION)) . '$#',
144-
'.' . $name,
145-
$path
146-
))->build();
142+
->setPath(
143+
preg_replace(
144+
'#\.' . preg_quote(pathinfo($path, PATHINFO_EXTENSION)) . '$#',
145+
'.' . $name,
146+
$path
147+
)
148+
)->build();
147149

148150
$processor = $this->objectManager->get($alternative[self::PROCESSOR_CLASS]);
149151
if (!$processor instanceof ContentProcessorInterface) {

lib/internal/Magento/Framework/View/Asset/PreProcessor/FileNameResolver.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
*/
66
namespace Magento\Framework\View\Asset\PreProcessor;
77

8+
/**
9+
* Class FileNameResolver
10+
*
11+
* @package Magento\Framework\View\Asset\PreProcessor
12+
*/
813
class FileNameResolver
914
{
1015
/**

0 commit comments

Comments
 (0)