Translate all code comments from Russian to English [skip ci]

This commit is contained in:
ErickSkrauch
2019-07-15 01:59:56 +03:00
parent 31069562b3
commit 3dbf29d34c
64 changed files with 264 additions and 286 deletions

View File

@@ -13,8 +13,8 @@ use yii\validators\Validator;
class EmailValidator extends Validator {
/**
* @var \Closure функция должна возвращать id аккаунта, относительно которого проводится
* текущая валидация. Позволяет пропустить проверку email для текущего аккаунта.
* @var \Closure the function must return the account id for which the current validation is being performed.
* Allows you to skip the email check for the current account.
*/
public $accountCallback;

View File

@@ -4,9 +4,6 @@ namespace common\validators;
use common\helpers\Error as E;
use yii\validators\StringValidator;
/**
* Класс должен реализовывать в себе все критерии валидации пароля пользователя
*/
class PasswordValidator extends StringValidator {
public $min = 8;

View File

@@ -12,8 +12,8 @@ use yii\validators\Validator;
class UsernameValidator extends Validator {
/**
* @var \Closure функция должна возвращать id аккаунта, относительно которого проводится
* текущая валидация. Позволяет пропустить проверку ника для текущего аккаунта.
* @var \Closure the function must return the account id for which the current validation is being performed.
* Allows you to skip the username check for the current account.
*/
public $accountCallback;