Skip to content

Commit ba0e2bf

Browse files
author
Oleksii Korshenko
committed
MAGETWO-69226: [PSR-2 Compliance] The Great @codingStandardsIgnoreFile Massacre #9367
- fixed code style
1 parent 0d1ccc6 commit ba0e2bf

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

app/code/Magento/Developer/Console/Command/TemplateHintsDisableCommand.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class TemplateHintsDisableCommand extends Command
3333
*
3434
* @param ConfigInterface $resourceConfig
3535
*/
36-
public function __construct(ConfigInterface $resourceConfig
37-
) {
36+
public function __construct(ConfigInterface $resourceConfig)
37+
{
3838
parent::__construct();
3939
$this->resourceConfig = $resourceConfig;
4040
}
@@ -56,13 +56,7 @@ protected function configure()
5656
*/
5757
protected function execute(InputInterface $input, OutputInterface $output)
5858
{
59-
$this->resourceConfig->saveConfig(
60-
'dev/debug/template_hints_storefront',
61-
0,
62-
'default',
63-
0
64-
);
65-
59+
$this->resourceConfig->saveConfig('dev/debug/template_hints_storefront', 0, 'default', 0);
6660
$output->writeln("<info>". self::SUCCESS_MESSAGE . "</info>");
6761
}
6862
}

app/code/Magento/Developer/Console/Command/TemplateHintsEnableCommand.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class TemplateHintsEnableCommand extends Command
3434
*
3535
* @param ConfigInterface $resourceConfig
3636
*/
37-
public function __construct(ConfigInterface $resourceConfig
38-
) {
37+
public function __construct(ConfigInterface $resourceConfig)
38+
{
3939
parent::__construct();
4040
$this->resourceConfig = $resourceConfig;
4141
}
@@ -57,13 +57,7 @@ protected function configure()
5757
*/
5858
protected function execute(InputInterface $input, OutputInterface $output)
5959
{
60-
$this->resourceConfig->saveConfig(
61-
'dev/debug/template_hints_storefront',
62-
1,
63-
'default',
64-
0
65-
);
66-
60+
$this->resourceConfig->saveConfig('dev/debug/template_hints_storefront', 1, 'default', 0);
6761
$output->writeln("<info>". self::SUCCESS_MESSAGE . "</info>");
6862
}
6963
}

0 commit comments

Comments
 (0)