Skip to content

Commit 9b63b61

Browse files
authored
Update README.md
1 parent 727f995 commit 9b63b61

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## 简介
44

55
- 兼容 Hyperf/Laravel Validation 规则
6-
- 提升约 500 倍性能
7-
- 验证器可多次复用不同数据
6+
- 部分场景可获得约 500 倍性能提升
7+
- 验证器可多次复用不同数据,无状态设计
88
- 规则可全局复用
9-
- 智能合并规则
9+
- 智能合并验证规则
1010

1111
## 安装
1212

@@ -102,10 +102,8 @@ use Psr\Container\ContainerInterface;
102102
#[Listener]
103103
class ValidatorFactoryResolvedListener implements ListenerInterface
104104
{
105-
/**
106-
* @var ContainerInterface
107-
*/
108-
private $container;
105+
106+
private ContainerInterface $container;
109107

110108
public function __construct(ContainerInterface $container)
111109
{

0 commit comments

Comments
 (0)