We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1053704 commit f0ac531Copy full SHA for f0ac531
src/Application.php
@@ -52,7 +52,8 @@ class Application
52
/** @var string Ascii art logo */
53
protected string $logo = '';
54
55
- protected string $_help = '';
+ /** @var string Custom help screen */
56
+ protected string $custom_help = '';
57
58
/** @var string Name of default command */
59
protected string $default = '__default__';
@@ -356,10 +357,10 @@ protected function aliasesFor(Command $command): array
356
357
public function help(?string $help = null): mixed
358
{
359
if (func_num_args() === 0) {
- return $this->_help;
360
+ return $this->custom_help;
361
}
362
- $this->_help = $help;
363
+ $this->custom_help = $help;
364
365
return $this;
366
0 commit comments