Skip to content

Commit dace994

Browse files
authored
fix get version error
fix error detail : ``` [ERROR] An error occurred! MESSAGE: Argument 2 passed to Inhere\Console\Util\Show::aList() must be of the type string, null given, called in E:\Dev\Code\New\php-redis-cli\vendor\inhere\console\src\Traits\FormatOutputAwareTrait.php on line 150 ```
1 parent 2ad31f1 commit dace994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ApplicationHelpTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function showVersionInfo(): void
7171
"$logo\n <info>{$name}</info>, Version <comment>$version</comment>\n",
7272
'System Info' => "PHP version <info>$phpVersion</info>, on <info>$os</info> system",
7373
'Application Info' => "Update at <info>$updateAt</info>, publish at <info>$publishAt</info>(current $date)",
74-
], null, [
74+
], '', [
7575
'leftChar' => '',
7676
'sepChar' => ' : '
7777
]);

0 commit comments

Comments
 (0)