Skip to content

Commit

Permalink
Rename custom_help to help
Browse files Browse the repository at this point in the history
  • Loading branch information
kodie committed Nov 26, 2024
1 parent 86ecf30 commit bc70bff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Application
protected string $logo = '';

/** @var string Custom help screen */
protected string $custom_help = '';
protected string $help = '';

/** @var string Name of default command */
protected string $default = '__default__';
Expand Down Expand Up @@ -357,10 +357,10 @@ protected function aliasesFor(Command $command): array
public function help(?string $help = null): mixed
{
if (func_num_args() === 0) {
return $this->custom_help;
return $this->help;
}

$this->custom_help = $help;
$this->help = $help;

return $this;
}
Expand Down

0 comments on commit bc70bff

Please sign in to comment.