diff --git a/lib/Command/UserExport.php b/lib/Command/UserExport.php index 090e2f072..3b2948270 100644 --- a/lib/Command/UserExport.php +++ b/lib/Command/UserExport.php @@ -79,12 +79,12 @@ protected function configure() { /** * @param InputInterface $input * @param OutputInterface $output - * @return void + * @return int * @throws DoesNotExistException * @throws MultipleObjectsReturnedException * @throws \ReflectionException */ - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $userId = $input->getArgument('user-id'); $this->boardService->setUserId($userId); @@ -109,5 +109,6 @@ protected function execute(InputInterface $input, OutputInterface $output) { } } $output->writeln(json_encode($data, JSON_PRETTY_PRINT)); + return 0; } }