Skip to content

Commit 7f7acb4

Browse files
author
Sergii Kovalenko
committed
MAGETWO-63022: [2.2] SCD does not work when multiple languages are specified.
1 parent 98c6f6e commit 7f7acb4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dev/tests/integration/testsuite/Magento/Theme/Model/Theme/Domain/VirtualTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ class VirtualTest extends \PHPUnit_Framework_TestCase
1919
'theme_title' => 'Test physical theme',
2020
'area' => \Magento\Framework\App\Area::AREA_FRONTEND,
2121
'type' => ThemeInterface::TYPE_PHYSICAL,
22-
'code' => 'physical'
22+
'code' => 'physical',
2323
],
2424
'virtual' => [
2525
'parent_id' => null,
2626
'theme_path' => '',
2727
'theme_title' => 'Test virtual theme',
2828
'area' => \Magento\Framework\App\Area::AREA_FRONTEND,
2929
'type' => ThemeInterface::TYPE_VIRTUAL,
30-
'code' => 'virtual'
30+
'code' => 'virtual',
3131
],
3232
'staging' => [
3333
'parent_id' => null,
3434
'theme_path' => '',
3535
'theme_title' => 'Test staging theme',
3636
'area' => \Magento\Framework\App\Area::AREA_FRONTEND,
3737
'type' => ThemeInterface::TYPE_STAGING,
38-
'code' => 'staging'
38+
'code' => 'staging',
3939
],
4040
];
4141

lib/internal/Magento/Framework/View/Design/Theme/FlyweightFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function __construct(ThemeProviderInterface $themeProvider)
4848
* by specific path (e.g. adminhtml/Magento/backend) or by identifier (theme primary key) and return it
4949
* Can be used to deploy static or in other setup commands, even if Magento is not installed yet.
5050
*
51-
* @param string $themeKey - Should looks like Magento/backend or should be theme primary key
52-
* @param string $area - Can be adminhtml, frontend, etc...
51+
* @param string $themeKey Should looks like Magento/backend or should be theme primary key
52+
* @param string $area Can be adminhtml, frontend, etc...
5353
* @return \Magento\Framework\View\Design\ThemeInterface
5454
* @throws \InvalidArgumentException when incorrect themeKey was specified
5555
* @throws \LogicException when theme with appropriate themeKey was not found

0 commit comments

Comments
 (0)