Classes/Console/Command/Cache/CacheFlushCommand.php
protected function createDeprecatedDefinition(): array
    {
        return [
            new InputOption(
                'force',
                null,
                InputOption::VALUE_NONE,
                'Cache is forcibly flushed (low level operations are performed)'
            ),
            new InputArgument(
                'force',
                null,
                'Cache is forcibly flushed (low level operations are performed)',
                false
            ),
            new InputArgument(
                'filesOnly',
                null,
                'Only file caches are flushed',
                false
            ),
        ];
    }
protected function createDeprecatedDefinition(): array
    {
        return [
            new InputOption(
                'force',
                null,
                InputOption::VALUE_NONE,
                'Cache is forcibly flushed (low level operations are performed)'
            ),
            new InputArgument(
                'force',
                null,
                'Cache is forcibly flushed (low level operations are performed)',
                false
            ),
            new InputArgument(
                'filesOnly',
                null,
                'Only file caches are flushed',
                false
            ),
        ];
    }
@deprecated will be removed with 6.0

@return array