diff --git a/src/Commands/ConfigViewCommand.php b/src/Commands/ConfigViewCommand.php index a82654c..fb667f5 100644 --- a/src/Commands/ConfigViewCommand.php +++ b/src/Commands/ConfigViewCommand.php @@ -30,7 +30,7 @@ protected function configure() ->setDescription('View configuration path'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $output->writeln("Config file: {$this->config->configFile}"); $output->writeln("Data directory: {$this->config->dataDir}\n"); diff --git a/src/Commands/TranslationAddCommand.php b/src/Commands/TranslationAddCommand.php index 77a9cf5..11d195b 100644 --- a/src/Commands/TranslationAddCommand.php +++ b/src/Commands/TranslationAddCommand.php @@ -39,7 +39,7 @@ protected function configure() ->addUsage('ms.basmeih'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $translation = $input->getArgument('translation'); diff --git a/src/Commands/TranslationListCommand.php b/src/Commands/TranslationListCommand.php index 5c3dbe9..841a353 100644 --- a/src/Commands/TranslationListCommand.php +++ b/src/Commands/TranslationListCommand.php @@ -29,7 +29,7 @@ protected function configure() ->setDescription('View available translations'); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $translations = $this->translations();