Skip to content

Commit

Permalink
Make console command compatible with v2.4.6 and up.
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ghiban <drew7721@gmail.com>
  • Loading branch information
drew7721 committed Dec 4, 2024
1 parent 5ef1f88 commit 2b123a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Console/Command/Hints.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
);
$status = ($this->setState === 0) ? "Disabled" : "Enabled";
$output->writeln("<info>{$status} JK template hints.</info>");

return $this::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "justinkase/module-layouthints",
"description":"This is Magento 2 layout hints on steroids!",
"type": "magento2-module",
"version": "1.1.3",
"version": "1.1.4",
"license": [
"GPL-3.0"
],
Expand Down

0 comments on commit 2b123a3

Please sign in to comment.