mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 02:07:23 +01:00
fix: helper access
This commit is contained in:
@ -93,10 +93,9 @@ final class Help implements HandlesArguments
|
|||||||
*/
|
*/
|
||||||
private function getContent(): array
|
private function getContent(): array
|
||||||
{
|
{
|
||||||
$helpReflection = new \ReflectionClass(PHPUnitHelp::class);
|
$helpReflection = new PHPUnitHelp();
|
||||||
|
|
||||||
/** @var array<string, array<int, array{arg: string, desc: string}>> $content */
|
$content = (fn (): array => $this->elements())->call($helpReflection);
|
||||||
$content = $helpReflection->getConstant('HELP_TEXT');
|
|
||||||
|
|
||||||
$content['Configuration'] = [...[[
|
$content['Configuration'] = [...[[
|
||||||
'arg' => '--init',
|
'arg' => '--init',
|
||||||
|
|||||||
Reference in New Issue
Block a user