Skip to content

Commit

Permalink
MAGETWO-69226: [PSR-2 Compliance] The Great @codingStandardsIgnoreFil…
Browse files Browse the repository at this point in the history
…e Massacre #9367

 - fixed code style
  • Loading branch information
Oleksii Korshenko committed Jun 7, 2017
1 parent 0d1ccc6 commit ba0e2bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class TemplateHintsDisableCommand extends Command
*
* @param ConfigInterface $resourceConfig
*/
public function __construct(ConfigInterface $resourceConfig
) {
public function __construct(ConfigInterface $resourceConfig)
{
parent::__construct();
$this->resourceConfig = $resourceConfig;
}
Expand All @@ -56,13 +56,7 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->resourceConfig->saveConfig(
'dev/debug/template_hints_storefront',
0,
'default',
0
);

$this->resourceConfig->saveConfig('dev/debug/template_hints_storefront', 0, 'default', 0);
$output->writeln("<info>". self::SUCCESS_MESSAGE . "</info>");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class TemplateHintsEnableCommand extends Command
*
* @param ConfigInterface $resourceConfig
*/
public function __construct(ConfigInterface $resourceConfig
) {
public function __construct(ConfigInterface $resourceConfig)
{
parent::__construct();
$this->resourceConfig = $resourceConfig;
}
Expand All @@ -57,13 +57,7 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->resourceConfig->saveConfig(
'dev/debug/template_hints_storefront',
1,
'default',
0
);

$this->resourceConfig->saveConfig('dev/debug/template_hints_storefront', 1, 'default', 0);
$output->writeln("<info>". self::SUCCESS_MESSAGE . "</info>");
}
}

0 comments on commit ba0e2bf

Please sign in to comment.