Skip to content

Commit 05f481b

Browse files
author
Miguel Balparda
committed
ref magento/magento2 #9278 CLI switch for template hints
1 parent a8b213e commit 05f481b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TemplateHintsDisableCommand extends Command
2929
public function __construct(
3030
\Magento\Config\Model\ResourceModel\Config $resourceConfig
3131
) {
32-
parent::__construct($name);
32+
parent::__construct();
3333
$this->_resourceConfig = $resourceConfig;
3434
}
3535

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TemplateHintsEnableCommand extends Command
3131
public function __construct(
3232
\Magento\Config\Model\ResourceModel\Config $resourceConfig
3333
) {
34-
parent::__construct($name);
34+
parent::__construct();
3535
$this->_resourceConfig = $resourceConfig;
3636
}
3737

@@ -41,7 +41,7 @@ public function __construct(
4141
protected function configure()
4242
{
4343
$this->setName(self::COMMAND_NAME)
44-
->setDescription('Enable DB query logging');
44+
->setDescription('Disable frontend template hints.');
4545

4646
parent::configure();
4747
}

0 commit comments

Comments
 (0)