Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令行工具支持功能描述信息 #129

Merged
merged 6 commits into from
Aug 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
修正命令行行工具描述原生注解支持
  • Loading branch information
NHZEX committed Aug 21, 2021
commit b5d37df5843f827fa9ff8da24818188f4870acaf
2 changes: 1 addition & 1 deletion src/Cli/Annotation/CommandAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CommandAction extends Base
*/
protected ?string $defaultFieldName = 'name';

public function __construct(?array $__data = null, ?string $name = null, bool $dynamicOptions = false)
public function __construct(?array $__data = null, ?string $name = null, ?string $description = null, bool $dynamicOptions = false)
{
parent::__construct(...\func_get_args());
}
Expand Down