Adding return types to commands.
This commit is contained in:
parent
ef40d8f19a
commit
fc8b8e04e3
|
@ -21,7 +21,7 @@ class TelegramSendMessageCommand extends Command
|
|||
parent::__construct();
|
||||
}
|
||||
|
||||
protected function configure()
|
||||
protected function configure(): void
|
||||
{
|
||||
$this
|
||||
->addOption('chat-id', 'c', InputOption::VALUE_OPTIONAL, 'ID of the chat')
|
||||
|
|
|
@ -28,7 +28,7 @@ class TelegramWebhookCommand extends Command
|
|||
parent::__construct();
|
||||
}
|
||||
|
||||
protected function configure()
|
||||
protected function configure(): void
|
||||
{
|
||||
$this
|
||||
->addArgument('mode', InputArgument::REQUIRED, 'Command mode (set or delete)')
|
||||
|
|
|
@ -32,7 +32,7 @@ class UpdateSubscriptionsCommand extends Command
|
|||
parent::__construct();
|
||||
}
|
||||
|
||||
protected function configure()
|
||||
protected function configure(): void
|
||||
{
|
||||
$this
|
||||
->addOption(
|
||||
|
|
|
@ -32,7 +32,7 @@ class UpdateUsersPrivacyCommand extends Command
|
|||
parent::__construct();
|
||||
}
|
||||
|
||||
protected function configure()
|
||||
protected function configure(): void
|
||||
{
|
||||
$this
|
||||
->addOption(
|
||||
|
|
Loading…
Reference in a new issue