Skip to content

Commit

Permalink
Command/Rename: add type declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards authored and come-nc committed Jan 30, 2024
1 parent 38f51c8 commit 57891ea
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 57891ea

Please sign in to comment.