We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47e5f0 commit fb33c0dCopy full SHA for fb33c0d
1 file changed
config/common.php
@@ -2,11 +2,14 @@
2
3
declare(strict_types=1);
4
5
-use Yiisoft\Validator\ValidatorFactory;
6
-use Yiisoft\Validator\ValidatorFactoryInterface;
+use Yiisoft\Validator\Formatter;
+use Yiisoft\Validator\FormatterInterface;
7
+use Yiisoft\Validator\Validator;
8
+use Yiisoft\Validator\ValidatorInterface;
9
10
/* @var array $params */
11
12
return [
- ValidatorFactoryInterface::class => ValidatorFactory::class,
13
+ ValidatorInterface::class => Validator::class,
14
+ FormatterInterface::class => Formatter::class,
15
];
0 commit comments