Skip to content

Commit f253e3d

Browse files
committed
Add return types
1 parent 639b838 commit f253e3d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Command/WebhookDeleteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function configure()
4747
/**
4848
* @inheritDoc
4949
*/
50-
protected function execute(InputInterface $input, OutputInterface $output)
50+
protected function execute(InputInterface $input, OutputInterface $output): int
5151
{
5252
$io = new SymfonyStyle($input, $output);
5353

Command/WebhookInfoCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function configure()
4747
/**
4848
* @inheritDoc
4949
*/
50-
protected function execute(InputInterface $input, OutputInterface $output)
50+
protected function execute(InputInterface $input, OutputInterface $output): int
5151
{
5252
$io = new SymfonyStyle($input, $output);
5353

Command/WebhookSetCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected function configure()
4949
/**
5050
* @inheritDoc
5151
*/
52-
protected function execute(InputInterface $input, OutputInterface $output)
52+
protected function execute(InputInterface $input, OutputInterface $output): int
5353
{
5454
$io = new SymfonyStyle($input, $output);
5555

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Configuration implements ConfigurationInterface
1111
/**
1212
* {@inheritdoc}
1313
*/
14-
public function getConfigTreeBuilder()
14+
public function getConfigTreeBuilder(): TreeBuilder
1515
{
1616
$builder = new TreeBuilder('telegram_bot_api');
1717
$rootNode = \method_exists($builder, 'getRootNode') ? $builder->getRootNode() : $builder->root('telegram_bot_api');

0 commit comments

Comments
 (0)