diff --git a/console/create.php b/console/create.php index 4581951..3692ac1 100644 --- a/console/create.php +++ b/console/create.php @@ -92,7 +92,7 @@ protected function configure() * * @throws LogicException When this abstract method is not implemented */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->packager->create_extension($this->data); diff --git a/skeleton/console/command/sample.php.twig b/skeleton/console/command/sample.php.twig index 28fa0b3..20aea26 100644 --- a/skeleton/console/command/sample.php.twig +++ b/skeleton/console/command/sample.php.twig @@ -51,7 +51,7 @@ class sample extends \phpbb\console\command\command * @param InputInterface $input An InputInterface instance * @param OutputInterface $output An OutputInterface instance */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $output->writeln($this->user->lang('CLI_{{ EXTENSION.extension_name|upper }}_HELLO')); }