From aeecb72e96e54439f98822467bb727366207039f Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 6 Jan 2022 16:57:32 +0100 Subject: Fix a few psalm issues and moved back to psalm/phar 4.18 Signed-off-by: Carl Schwan --- core/Command/Config/System/GetConfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Command/Config/System/GetConfig.php') diff --git a/core/Command/Config/System/GetConfig.php b/core/Command/Config/System/GetConfig.php index 3fce89572c8..f7e573f6869 100644 --- a/core/Command/Config/System/GetConfig.php +++ b/core/Command/Config/System/GetConfig.php @@ -65,9 +65,9 @@ class GetConfig extends Base { * * @param InputInterface $input An InputInterface instance * @param OutputInterface $output An OutputInterface instance - * @return null|int null or 0 if everything went fine, or an error code + * @return int 0 if everything went fine, or an error code */ - protected function execute(InputInterface $input, OutputInterface $output): int { + protected function execute(InputInterface $input, OutputInterface $output) { $configNames = $input->getArgument('name'); $configName = array_shift($configNames); $defaultValue = $input->getOption('default-value'); -- cgit v1.2.3