fix: unit test & psalm static code analysis issues

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2022-03-04 18:06:08 +01:00
committed by Julius Härtl
parent b6340e54c3
commit afbbdf0c1b
9 changed files with 200 additions and 155 deletions

View File

@@ -33,7 +33,7 @@ final class TransferOwnership extends Command {
);
}
protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
$owner = $input->getArgument('owner');
$newOwner = $input->getArgument('newOwner');
@@ -42,5 +42,7 @@ final class TransferOwnership extends Command {
$this->boardService->transferOwnership($owner, $newOwner);
$output->writeln("Transfer deck boards from $owner to $newOwner completed");
return 0;
}
}