1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 21:56:33 +02:00

feat(console): update EntriesHasCommand #543

This commit is contained in:
Awilum
2021-09-14 20:59:40 +03:00
parent c5c3539018
commit c998499985

View File

@@ -20,7 +20,7 @@ class EntriesHasCommand extends Command
protected function configure(): void
{
$this->setName('entries:has');
$this->setDescription('Check whether entry exists..');
$this->setDescription('Check whether entry exists.');
$this->addOption('id', null, InputOption::VALUE_REQUIRED, 'Unique identifier of the entry.');
}
@@ -32,7 +32,7 @@ class EntriesHasCommand extends Command
$io->success('Entry ' . $input->getOption('id') . ' exists');
return Command::SUCCESS;
} else {
$io->error('Entry ' . $input->getOption('id') . ' ins\'t exists');
$io->error('Entry ' . $input->getOption('id') . ' doesn\'t exists');
return Command::FAILURE;
}
}