Skip to content

Commit

Permalink
fix get version error
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
WangNingkai authored Nov 9, 2019
1 parent 2ad31f1 commit dace994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ApplicationHelpTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function showVersionInfo(): void
"$logo\n <info>{$name}</info>, Version <comment>$version</comment>\n",
'System Info' => "PHP version <info>$phpVersion</info>, on <info>$os</info> system",
'Application Info' => "Update at <info>$updateAt</info>, publish at <info>$publishAt</info>(current $date)",
], null, [
], '', [
'leftChar' => '',
'sepChar' => ' : '
]);
Expand Down

0 comments on commit dace994

Please sign in to comment.