diff --git a/composer.json b/composer.json index ea285c3..c8e6cf8 100644 --- a/composer.json +++ b/composer.json @@ -7,8 +7,8 @@ "php": "^8.1", "guzzlehttp/guzzle": "^6.5.5|^7.0.1", "laravel/prompts": "^0.1.3|^0.2.0|^0.3.0", - "symfony/console": "^4.0|^5.0|^6.0", - "symfony/process": "^4.2|^5.0|^6.0" + "symfony/console": "^4.0|^5.0|^6.0|^7.0", + "symfony/process": "^4.2|^5.0|^6.0|^7.0" }, "require-dev": { "phpunit/phpunit": "^8.0" diff --git a/src/NewCommand.php b/src/NewCommand.php index f3aefb8..a676037 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -123,10 +123,8 @@ protected function interact(InputInterface $input, OutputInterface $output) /** * Execute the command. - * - * @return int */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { try { $this diff --git a/src/UpdateCommand.php b/src/UpdateCommand.php index adad171..bf311b8 100644 --- a/src/UpdateCommand.php +++ b/src/UpdateCommand.php @@ -29,10 +29,8 @@ protected function configure() /** * Execute the command. - * - * @return int */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->input = $input; $this->output = $output; diff --git a/src/VersionCommand.php b/src/VersionCommand.php index 3a1531c..e0cfa14 100644 --- a/src/VersionCommand.php +++ b/src/VersionCommand.php @@ -22,10 +22,8 @@ protected function configure() /** * Execute the command. - * - * @return int */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $please = new Please($output);