diff --git a/lib/Command/Generate.php b/lib/Command/Generate.php index 34a001d..723a3ea 100644 --- a/lib/Command/Generate.php +++ b/lib/Command/Generate.php @@ -66,8 +66,10 @@ protected function configure() { /** * @param InputInterface $input * @param OutputInterface $output + * @return int + * @throws \Exception */ - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $user = $input->getOption('user'); $group = $input->getOption('group'); if ($user === null && $group === null) { diff --git a/lib/Command/RepairNotifications.php b/lib/Command/RepairNotifications.php index db9092c..20e91b7 100644 --- a/lib/Command/RepairNotifications.php +++ b/lib/Command/RepairNotifications.php @@ -58,7 +58,7 @@ protected function configure() { * @param OutputInterface $output * @return int */ - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $subject = $input->getArgument('subject'); if (!\in_array($subject, self::$availableSubjects)) {