Fixed type error of return value for watcher. (#3992)

* Fixed type error of return value for watcher.

* Update
This commit is contained in:
李铭昕 2021-08-30 14:47:00 +08:00 committed by GitHub
parent 1fda790293
commit be13502347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
## Added
- [#3987](https://github.com/hyperf/hyperf/pull/3987) Support delayed message exchange for AMQP.
- [#3989](https://github.com/hyperf/hyperf/pull/3989) Added option `command` which used to define your own start command.
- [#3989](https://github.com/hyperf/hyperf/pull/3989) [#3992](https://github.com/hyperf/hyperf/pull/3992) Added option `command` which used to define your own start command.
# v2.2.5 - 2021-08-23

View File

@ -11,7 +11,7 @@
## 新增
- [#3987](https://github.com/hyperf/hyperf/pull/3987) AMQP 组件支持延时队列。
- [#3989](https://github.com/hyperf/hyperf/pull/3989) 为热更新组件新增了配置 `command`,可以用来定义自己的启动脚本,支持 [nano](https://github.com/hyperf/nano) 组件。
- [#3989](https://github.com/hyperf/hyperf/pull/3989) [#3992](https://github.com/hyperf/hyperf/pull/3992) 为热更新组件新增了配置 `command`,可以用来定义自己的启动脚本,支持 [nano](https://github.com/hyperf/nano) 组件。
# v2.2.5 - 2021-08-23

View File

@ -83,7 +83,7 @@ class Option
return $this->bin;
}
public function getCommand(): mixed
public function getCommand(): string
{
return $this->command;
}