Removed old command aliases

This commit is contained in:
Alejandro Celaya
2019-12-31 16:08:08 +01:00
parent 5c90a7c7a7
commit f99ca464de
7 changed files with 17 additions and 33 deletions

View File

@@ -19,7 +19,6 @@ use function sprintf;
class DeleteShortUrlCommand extends Command
{
public const NAME = 'short-url:delete';
private const ALIASES = ['short-code:delete'];
private DeleteShortUrlServiceInterface $deleteShortUrlService;
@@ -33,7 +32,6 @@ class DeleteShortUrlCommand extends Command
{
$this
->setName(self::NAME)
->setAliases(self::ALIASES)
->setDescription('Deletes a short URL')
->addArgument('shortCode', InputArgument::REQUIRED, 'The short code for the short URL to be deleted')
->addOption(