Fixed some issues detected by PHPstan.

This commit is contained in:
Jan Böhmer 2020-02-01 17:00:03 +01:00
parent f2ff77a8b3
commit dd1f806c4e
30 changed files with 310 additions and 45 deletions

View file

@ -105,7 +105,7 @@ class ConvertBBCodeCommand extends Command
];
}
protected function execute(InputInterface $input, OutputInterface $output): void
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
$targets = $this->getTargetsLists();
@ -168,5 +168,7 @@ class ConvertBBCodeCommand extends Command
$this->em->flush();
$io->success('Changes saved to DB successfully!');
}
return 0;
}
}