Skip to content

Commit 424106b

Browse files
authored
Merge pull request #2 from ptmkenny/return_types
add missing return type hints
2 parents a820f1a + 268a002 commit 424106b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/DrupalIssueForkCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected function configure()
2323
]);
2424
}
2525

26-
protected function execute(InputInterface $input, OutputInterface $output)
26+
protected function execute(InputInterface $input, OutputInterface $output): int
2727
{
2828
$io = $this->getIO();
2929
if (!preg_match('#(?P<url>https://git.drupalcode.org/issue/(?P<project>.*)-\d+)/-/tree/(?P<branch>.*)$#', $input->getArgument('fork-url'), $matches)) {

src/DrupalIssueUnForkCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected function configure()
2323
]);
2424
}
2525

26-
protected function execute(InputInterface $input, OutputInterface $output)
26+
protected function execute(InputInterface $input, OutputInterface $output): int
2727
{
2828
$io = $this->getIO();
2929
$project = $input->getArgument('drupal-project');

0 commit comments

Comments
 (0)