Commit Graph

5090 Commits

Author SHA1 Message Date
daydaygo
3e3c7c2da7 docs: update changelog 2020-05-21 13:47:25 +08:00
李铭昕
eb269770b3
Fixed the incorrent number of current connections when close failed. (#1750) 2020-05-21 12:33:04 +08:00
李铭昕
4e4dce8275
Merge pull request #1764 from chunhei2008/fix/1538
Fixed:#1538 日期验证参数类型错误
2020-05-21 10:43:05 +08:00
李铭昕
91d4df2b12 Format code. 2020-05-21 10:40:57 +08:00
沈唁
faf1bb9a27
Update wechat.md (#1766)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-21 10:38:26 +08:00
李铭昕
05489c8d65
Merge pull request #1769 from Reasno/socketio
fix a notice when client initiate disconnects.
2020-05-21 10:36:45 +08:00
谷溪
ed1ee9f7a5
Merge pull request #1771 from jobinli/hotfix#fix-error-example
fix some error descriptions in documents
2020-05-20 18:17:09 +08:00
Reasno
15072ff79b fix: clients() should return clients across all servers 2020-05-20 18:06:31 +08:00
JobinLi
cf285e8c1c revert 2020-05-20 18:02:00 +08:00
Reasno
7b68a3e9c3 test: test #1771 2020-05-20 17:58:49 +08:00
JobinLi
341a1ab281 fix error pull request link in change logs 2020-05-20 17:46:31 +08:00
JobinLi
14087676a0 fix error example for broadcast in README.md 2020-05-20 17:40:53 +08:00
黄朝晖
b4b7d17f30
Merge pull request #1767 from jcchavezs/patch-2
fix: Upgrades zipkin-php-opentracing (#1685)
2020-05-20 14:41:27 +08:00
Reasno
8141df2f2d fix a notice when client initiate disconnects. 2020-05-20 14:13:54 +08:00
José Carlos Chávez
16f2b39809
fix: Upgrades zipkin-php-opentracing (#1685) 2020-05-19 18:01:41 +02:00
chunhei2008
421288f68b fix: 🐛 remove useless test cases 2020-05-19 19:03:11 +08:00
chunhei2008
b8156c1755 test: 💍 修复日期验证器After单测 2020-05-19 18:23:10 +08:00
李铭昕
35b925edda
Merge pull request #1724 from lai53050960/xiaolai-add-doesntHaveMorph
Added `Model::orWhereHasMorph` ,`Model::whereDoesntHaveMorph` and `Model::orWhereDoesntHaveMorph`.
2020-05-19 17:30:40 +08:00
李铭昕
e97ec593d9 Added type hint. 2020-05-19 17:23:53 +08:00
chunhei2008
b8f747e2cf fix: 🐛 修复日期验证规则被验证字段为null时报错
 Closes: #1538
2020-05-19 17:13:05 +08:00
huangzhhui
f3f0071671 Fix typo and Translate 2020-05-19 11:26:54 +08:00
huangzhhui
6609e1d459 Merge branch 'master' of github.com:hyperf/hyperf 2020-05-19 11:17:43 +08:00
huangzhhui
6c49e16f9e Add the hyperf ecosystem 2020-05-19 11:17:36 +08:00
李铭昕
dc6092c5ad
Merge pull request #1742 from nfangxu/add-model-casts
- Added Custom Casts for model.
  - Added interface `Castable`, `CastsAttributes` and `CastsInboundAttributes`.
  - Added `Model\Builder::withCasts`.
  - Added `Model::loadMorph`, `Model::loadMorphCount` and `Model::syncAttributes`.
2020-05-19 11:12:25 +08:00
codinghuang
e65f50d7e7
Fixed the wrong start info for base server. (#1754) 2020-05-18 18:35:20 +08:00
Zicai
dd4f98a0ce
Update .php_cs (#1752)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-18 18:33:27 +08:00
李铭昕
b43775a369
Fixed concurrent.limit does not works when using another pool. (#1748)
* Fixed concurrent.limit does not works when using another pool.

* Update CHANGELOG.md
2020-05-18 17:36:18 +08:00
Eric Chu
12ffa445f0
compatibility fix 2020-05-18 16:57:07 +08:00
李铭昕
963989d314 Added document of CastsValue. 2020-05-18 12:06:29 +08:00
李铭昕
021ae675c4 Added interface Synchronized to optimized mergeAttributesFromClassCasts. 2020-05-18 11:40:37 +08:00
李铭昕
f42c90b3a6 Added property of custom caster for gen:model. 2020-05-18 10:49:17 +08:00
李铭昕
4905a71674 Revert changing. 2020-05-17 19:52:13 +08:00
nfangxu
770151204d fix syncAttribute 2020-05-17 18:25:19 +08:00
李铭昕
1a4ca3d4a6 Format code. 2020-05-17 17:22:02 +08:00
李铭昕
f8a1915969 Added document of mutators. 2020-05-17 10:35:25 +08:00
李铭昕
f79a3758ca Added test case. 2020-05-17 08:42:54 +08:00
李铭昕
be21f2288a Added method syncAttributes. 2020-05-17 07:30:11 +08:00
nfangxu
e187e63f17 fix error 2020-05-16 23:46:46 +08:00
nfangxu
58278f31de remove unnecessary getAttributes method calls, fix testGetAttribute 2020-05-16 23:16:53 +08:00
谷溪
20951d66f5
fix oss hook bitwise operator (#1739)
* fix oss hook

* Update CHANGELOG.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-16 22:00:36 +08:00
李铭昕
623303918c Added test cases. 2020-05-16 19:29:33 +08:00
李铭昕
24d6972749 Format code. 2020-05-16 15:30:58 +08:00
梁桂锋
3cad705e00
Fixed the bug that the morph association is empty and cannot be queried. (#1734)
* Fix the bug that the morph association is empty and cannot be queried

* Added testing.

* Update CHANGELOG.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-16 10:49:33 +08:00
谷溪
d7a965c0de
Fix refId error (#1743)
* Fix refId error

* Update CHANGELOG.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-16 09:37:05 +08:00
nfangxu
c830ce1f7c remove debug anchor 2020-05-15 18:42:55 +08:00
nfangxu
03e2aa2d83 add casts attributes support 2020-05-15 18:17:39 +08:00
nfangxu
cc1db9af2d add casts attributes support 2020-05-15 18:17:33 +08:00
Eric Chu
3d290ccb57
improve Hyperf\Command::choice method
add a new method 'choiceMultiple'.
remove 'multiple' parameter from 'choice' method signature.
2020-05-15 17:28:28 +08:00
Cong Peijun
a74b9c09bd
Fix wrong link (#1737) 2020-05-15 11:05:26 +08:00
xiaolaiapple
a61ab2cc7e Update ModelMorphEagerLoadingTest.php ,add $event->bindings in array of result. 2020-05-15 09:38:35 +08:00