Skip to content

Commit 0b9b381

Browse files
committed
MC-40902: Improve static content generation.
1 parent 0b0e3cd commit 0b9b381

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/internal/Magento/Framework/App/StaticResource.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ private function getLogger()
265265
return $this->logger;
266266
}
267267

268+
/**
269+
* Check that theme is available.
270+
*
271+
* @param string $theme
272+
* @return bool
273+
*/
268274
private function isThemeAllowed(string $theme): bool
269275
{
270276
return in_array($theme, array_keys($this->themePackageList->getThemes()));

0 commit comments

Comments
 (0)