@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * Creates validator object based on the validation rule specified in [[rule]]. |
103 | - * @param DataSetInterface|null $data model in which context validator should be created. |
|
103 | + * @param DataSetInterface $data model in which context validator should be created. |
|
104 | 104 | * @return Rule validator instance |
105 | 105 | *@throws \yii\exceptions\InvalidConfigException |
106 | 106 | */ |
@@ -6,7 +6,6 @@ |
||
6 | 6 | */ |
7 | 7 | namespace Yiisoft\Validator\Rule; |
8 | 8 | |
9 | -use Yiisoft\Validator\DataSetInterface; |
|
10 | 9 | use Yiisoft\Validator\Result; |
11 | 10 | use Yiisoft\Validator\Rule; |
12 | 11 |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Yiisoft\Validator\Rule; |
3 | 3 | |
4 | 4 | use Yiisoft\Arrays\ArrayHelper; |
5 | -use Yiisoft\Validator\DataSetInterface; |
|
6 | 5 | use Yiisoft\Validator\Result; |
7 | 6 | use Yiisoft\Validator\Rule; |
8 | 7 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Yiisoft\Validator\Rule; |
4 | 4 | |
5 | 5 | use yii\helpers\IpHelper; |
6 | -use Yiisoft\Validator\DataSetInterface; |
|
7 | 6 | use Yiisoft\Validator\Result; |
8 | 7 | use Yiisoft\Validator\Rule; |
9 | 8 |