Skip to content

Commit 399cecf

Browse files
authored
Merge pull request #531 from XWB/command-update
Command::execute must return int type
2 parents d646991 + 5a1f918 commit 399cecf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Command/InvalidatePathCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function configure()
6969
/**
7070
* {@inheritdoc}
7171
*/
72-
protected function execute(InputInterface $input, OutputInterface $output)
72+
protected function execute(InputInterface $input, OutputInterface $output): int
7373
{
7474
$paths = $input->getArgument('paths');
7575

src/Command/InvalidateRegexCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function configure()
7272
/**
7373
* {@inheritdoc}
7474
*/
75-
protected function execute(InputInterface $input, OutputInterface $output)
75+
protected function execute(InputInterface $input, OutputInterface $output): int
7676
{
7777
$regex = $input->getArgument('regex');
7878

src/Command/InvalidateTagCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function configure()
6767
/**
6868
* {@inheritdoc}
6969
*/
70-
protected function execute(InputInterface $input, OutputInterface $output)
70+
protected function execute(InputInterface $input, OutputInterface $output): int
7171
{
7272
$tags = $input->getArgument('tags');
7373

src/Command/RefreshPathCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function configure()
6969
/**
7070
* {@inheritdoc}
7171
*/
72-
protected function execute(InputInterface $input, OutputInterface $output)
72+
protected function execute(InputInterface $input, OutputInterface $output): int
7373
{
7474
$paths = $input->getArgument('paths');
7575

0 commit comments

Comments
 (0)