From b838a1ce603442988eb2f49a9c3e40a0c0f05295 Mon Sep 17 00:00:00 2001 From: Simo Heinonen Date: Thu, 21 Dec 2023 15:10:07 +0200 Subject: [PATCH] Symfony 7 return types --- .../SoapClient/Console/Command/GenerateClassmapCommand.php | 2 +- src/Phpro/SoapClient/Console/Command/GenerateClientCommand.php | 2 +- .../SoapClient/Console/Command/GenerateClientFactoryCommand.php | 2 +- src/Phpro/SoapClient/Console/Command/GenerateConfigCommand.php | 2 +- src/Phpro/SoapClient/Console/Command/GenerateTypesCommand.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Phpro/SoapClient/Console/Command/GenerateClassmapCommand.php b/src/Phpro/SoapClient/Console/Command/GenerateClassmapCommand.php index 51ba8512..5b85a3d4 100644 --- a/src/Phpro/SoapClient/Console/Command/GenerateClassmapCommand.php +++ b/src/Phpro/SoapClient/Console/Command/GenerateClassmapCommand.php @@ -66,7 +66,7 @@ protected function configure() * {@inheritdoc} * @throws \Phpro\SoapClient\Exception\InvalidArgumentException */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $io = new SymfonyStyle($input, $output); diff --git a/src/Phpro/SoapClient/Console/Command/GenerateClientCommand.php b/src/Phpro/SoapClient/Console/Command/GenerateClientCommand.php index 25a23ebe..46b0e4d4 100644 --- a/src/Phpro/SoapClient/Console/Command/GenerateClientCommand.php +++ b/src/Phpro/SoapClient/Console/Command/GenerateClientCommand.php @@ -67,7 +67,7 @@ protected function configure() /** * {@inheritdoc} */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $io = new SymfonyStyle($input, $output); diff --git a/src/Phpro/SoapClient/Console/Command/GenerateClientFactoryCommand.php b/src/Phpro/SoapClient/Console/Command/GenerateClientFactoryCommand.php index a61fa35a..e1da999a 100644 --- a/src/Phpro/SoapClient/Console/Command/GenerateClientFactoryCommand.php +++ b/src/Phpro/SoapClient/Console/Command/GenerateClientFactoryCommand.php @@ -56,7 +56,7 @@ protected function configure() /** * {@inheritdoc} */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $io = new SymfonyStyle($input, $output); $config = $this->getConfigHelper()->load($input); diff --git a/src/Phpro/SoapClient/Console/Command/GenerateConfigCommand.php b/src/Phpro/SoapClient/Console/Command/GenerateConfigCommand.php index 2238d2cf..8b5560c9 100644 --- a/src/Phpro/SoapClient/Console/Command/GenerateConfigCommand.php +++ b/src/Phpro/SoapClient/Console/Command/GenerateConfigCommand.php @@ -45,7 +45,7 @@ protected function configure() ); } - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $context = new ConfigContext(); $io = new SymfonyStyle($input, $output); diff --git a/src/Phpro/SoapClient/Console/Command/GenerateTypesCommand.php b/src/Phpro/SoapClient/Console/Command/GenerateTypesCommand.php index b9ffff7d..e6b00426 100644 --- a/src/Phpro/SoapClient/Console/Command/GenerateTypesCommand.php +++ b/src/Phpro/SoapClient/Console/Command/GenerateTypesCommand.php @@ -66,7 +66,7 @@ protected function configure() /** * {@inheritdoc} */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $io = new SymfonyStyle($input, $output);