Fixing TelegramSendMessageCommand syntax error.
This commit is contained in:
parent
2501a67700
commit
728f1c28ac
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue