From 5794534a26ec90dba99cd144b6cb26ca871df758 Mon Sep 17 00:00:00 2001
From: Arthur Khachaturov <arthurhachaturov@gmail.com>
Date: Sun, 24 Aug 2014 23:47:36 +0400
Subject: [PATCH] Unused InvalidConfigException

---
 framework/validators/Validator.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/framework/validators/Validator.php b/framework/validators/Validator.php
index bc5793e..f0ce831 100644
--- a/framework/validators/Validator.php
+++ b/framework/validators/Validator.php
@@ -10,7 +10,6 @@ namespace yii\validators;
 use Yii;
 use yii\base\Component;
 use yii\base\NotSupportedException;
-use yii\base\InvalidConfigException;
 
 /**
  * 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
      * the attribute names or a string of comma-separated attribute names.
      * @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
      */
     public static function createValidator($type, $object, $attributes, $params = [])
--
libgit2 0.27.1