Skip to content

Commit

Permalink
Merge pull request #2767 from nextcloud/jr/command-rename-types
Browse files Browse the repository at this point in the history
  • Loading branch information
come-nc authored Jan 30, 2024
2 parents 38f51c8 + 57891ea commit 965e117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Command/Rename.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
use Symfony\Component\Console\Output\OutputInterface;

class Rename extends FolderCommand {
protected function configure() {
protected function configure(): void {
$this
->setName('groupfolders:rename')
->setDescription('Rename group folder')
Expand All @@ -37,7 +37,7 @@ protected function configure() {
parent::configure();
}

protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
$folder = $this->getFolder($input, $output);
if ($folder === false) {
return -1;
Expand Down

0 comments on commit 965e117

Please sign in to comment.