Skip to content

Commit

Permalink
fix: return method
Browse files Browse the repository at this point in the history
  • Loading branch information
arodu committed Mar 5, 2024
1 parent 5c58883 commit 94cae03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/CopyFilesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
if (!$all && empty($type)) {
$io->err('Error: Need to add a type argument or --all option, excecute `cakelte copy_files -h` for help.');

return static::CODE_ERROR;
return self::CODE_ERROR;
}

if ($all) {
Expand All @@ -123,7 +123,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
$io->createFile($dest . $file, $content, $forceOverwrite);
}

return static::CODE_SUCCESS;
return self::CODE_SUCCESS;
}

/**
Expand Down

0 comments on commit 94cae03

Please sign in to comment.