Skip to content

Commit cf52ffd

Browse files
authored
Adopt to new yiisoft/validator (#76)
1 parent 3cb44d8 commit cf52ffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Auth/AuthRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ public function getRules(): array
3232
{
3333
return [
3434
'body.login' => [
35-
new Required(),
35+
Required::rule(),
3636
],
3737
'body.password' => [
38-
new Required(),
38+
Required::rule(),
3939
],
4040
];
4141
}

0 commit comments

Comments
 (0)