WIP: Symfony 6 project remake #2
|
@ -21,7 +21,7 @@ class TelegramSendMessageCommand extends Command
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function configure()
|
protected function configure(): void
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->addOption('chat-id', 'c', InputOption::VALUE_OPTIONAL, 'ID of the chat')
|
->addOption('chat-id', 'c', InputOption::VALUE_OPTIONAL, 'ID of the chat')
|
||||||
|
|
|
@ -28,7 +28,7 @@ class TelegramWebhookCommand extends Command
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function configure()
|
protected function configure(): void
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->addArgument('mode', InputArgument::REQUIRED, 'Command mode (set or delete)')
|
->addArgument('mode', InputArgument::REQUIRED, 'Command mode (set or delete)')
|
||||||
|
|
|
@ -32,7 +32,7 @@ class UpdateSubscriptionsCommand extends Command
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function configure()
|
protected function configure(): void
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->addOption(
|
->addOption(
|
||||||
|
|
|
@ -32,7 +32,7 @@ class UpdateUsersPrivacyCommand extends Command
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function configure()
|
protected function configure(): void
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->addOption(
|
->addOption(
|
||||||
|
|
Loading…
Reference in a new issue