Skip to content

Commit

Permalink
fix: symfony compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
faizshukri committed Mar 13, 2024
1 parent 2982ed1 commit 1652733
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Commands/ConfigViewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: <info>{$this->config->configFile}</info>");
$output->writeln("Data directory: <info>{$this->config->dataDir}</info>\n");
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/TranslationAddCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/TranslationListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 1652733

Please sign in to comment.