Skip to content

Commit 017912f

Browse files
committed
Add return types
1 parent 0b70838 commit 017912f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/NewCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
126126
*
127127
* @return int
128128
*/
129-
protected function execute(InputInterface $input, OutputInterface $output)
129+
protected function execute(InputInterface $input, OutputInterface $output): int
130130
{
131131
try {
132132
$this

src/UpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function configure()
3232
*
3333
* @return int
3434
*/
35-
protected function execute(InputInterface $input, OutputInterface $output)
35+
protected function execute(InputInterface $input, OutputInterface $output): int
3636
{
3737
$this->input = $input;
3838
$this->output = $output;

src/VersionCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function configure()
2525
*
2626
* @return int
2727
*/
28-
protected function execute(InputInterface $input, OutputInterface $output)
28+
protected function execute(InputInterface $input, OutputInterface $output): int
2929
{
3030
$please = new Please($output);
3131

0 commit comments

Comments
 (0)