Fixing TelegramSendMessageCommand syntax error.

This commit is contained in:
Alexey Skobkin 2023-04-09 21:21:51 +03:00
parent 2501a67700
commit 728f1c28ac
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -39,7 +39,7 @@ class TelegramSendMessageCommand extends Command
} elseif (null !== $input->getArgument('message')) { } elseif (null !== $input->getArgument('message')) {
$message = $input->getArgument('message'); $message = $input->getArgument('message');
} else { } else {
$io->error('Either \'--stdin\' option or \'message\' argument should be specified.') $io->error('Either \'--stdin\' option or \'message\' argument should be specified.');
return Command::FAILURE; return Command::FAILURE;
} }