Merge pull request from sy-records/patch-1

Update constants.md
This commit is contained in:
黄朝晖 2020-06-30 13:20:39 +08:00 committed by GitHub
commit 6023344407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,8 @@ composer require hyperf/constants
php bin/hyperf.php gen:constants ErrorCode
```
!> 此生成命令仅在 [hyperf/constants](https://github.com/hyperf/constants) 组件版本大于等于 v2.0.1 版本时可用,小于此版本时请手动创建枚举类。
```php
<?php