Commit 5794534a by Arthur Khachaturov

Unused InvalidConfigException

parent f526cc7a
...@@ -10,7 +10,6 @@ namespace yii\validators; ...@@ -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 ...@@ -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 = [])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment