Skip to content

Commit 268a002

Browse files
committed
add return type hints
1 parent f2df06f commit 268a002

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)