Skip to content

Commit f0ac531

Browse files
kodieadhocore
authored andcommitted
Tests don't like variables starting with underscores in the application
1 parent 1053704 commit f0ac531

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Application.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ class Application
5252
/** @var string Ascii art logo */
5353
protected string $logo = '';
5454

55-
protected string $_help = '';
55+
/** @var string Custom help screen */
56+
protected string $custom_help = '';
5657

5758
/** @var string Name of default command */
5859
protected string $default = '__default__';
@@ -356,10 +357,10 @@ protected function aliasesFor(Command $command): array
356357
public function help(?string $help = null): mixed
357358
{
358359
if (func_num_args() === 0) {
359-
return $this->_help;
360+
return $this->custom_help;
360361
}
361362

362-
$this->_help = $help;
363+
$this->custom_help = $help;
363364

364365
return $this;
365366
}

0 commit comments

Comments
 (0)