protected function execute(InputInterface $input, OutputInterface $output): int
    {
        try {
            $output->writeln(PackageUtil::getVersion('contao/core-bundle'));
        } catch (\OutOfBoundsException $e) {
            $output->writeln(PackageUtil::getVersion('contao/contao'));
        }

        return 0;
    }
protected function execute(InputInterface $input, OutputInterface $output): int
    {
        try {
            $output->writeln(PackageUtil::getVersion('contao/core-bundle'));
        } catch (\OutOfBoundsException $e) {
            $output->writeln(PackageUtil::getVersion('contao/contao'));
        }

        return 0;
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) : int { try { $ output -> writeln ( PackageUtil :: getVersion ( 'contao/core-bundle' ) ) ; } catch ( \ OutOfBoundsException $ e ) { $ output -> writeln ( PackageUtil :: getVersion ( 'contao/contao' ) ) ; } return 0 ; }
{@inheritdoc}
{