mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Unused InvalidConfigException
This commit is contained in:
@ -10,7 +10,6 @@ namespace yii\validators;
|
|||||||
use Yii;
|
use Yii;
|
||||||
use yii\base\Component;
|
use yii\base\Component;
|
||||||
use yii\base\NotSupportedException;
|
use yii\base\NotSupportedException;
|
||||||
use yii\base\InvalidConfigException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validator is the base class for all validators.
|
* Validator is the base class for all validators.
|
||||||
@ -181,7 +180,6 @@ class Validator extends Component
|
|||||||
* @param array|string $attributes list of attributes to be validated. This can be either an array of
|
* @param array|string $attributes list of attributes to be validated. This can be either an array of
|
||||||
* the attribute names or a string of comma-separated attribute names.
|
* the attribute names or a string of comma-separated attribute names.
|
||||||
* @param array $params initial values to be applied to the validator properties
|
* @param array $params initial values to be applied to the validator properties
|
||||||
* @throws \yii\base\InvalidConfigException if type can't be recognized
|
|
||||||
* @return Validator the validator
|
* @return Validator the validator
|
||||||
*/
|
*/
|
||||||
public static function createValidator($type, $object, $attributes, $params = [])
|
public static function createValidator($type, $object, $attributes, $params = [])
|
||||||
|
|||||||
Reference in New Issue
Block a user