Fixed bug that hyperf/snowflake is broken due to missing hyperf/contract. (#2980)

* Update snowflake dependencies

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
This commit is contained in:
沈唁 2020-12-16 09:47:21 +08:00 committed by GitHub
parent 5e60a43ac7
commit 99e1f4e198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# v2.0.24 - TBD
## Fixed
- [#2978](https://github.com/hyperf/hyperf/pull/2980) Fixed bug that `hyperf/snowflake` is broken due to missing `hyperf/contract`.
## Optimized
- [#2973](https://github.com/hyperf/hyperf/pull/2973) Support custom HTTP status code.

View File

@ -14,7 +14,8 @@
"source": "https://github.com/hyperf/hyperf"
},
"require": {
"php": ">=7.2"
"php": ">=7.2",
"hyperf/contract": "~2.0.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.9",