@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | * Split a string into based on a regular expression. |
274 | 274 | * |
275 | 275 | * @param string $string the string to be split. |
276 | - * @param sring $delimiter regular expression used to separate the string. |
|
276 | + * @param string $delimiter regular expression used to separate the string. |
|
277 | 277 | * @return string[] |
278 | 278 | * @since 2.0.11 |
279 | 279 | */ |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | |
285 | 285 | /** |
286 | 286 | * [splitWords description] |
287 | - * @param $string $string the string to be split |
|
287 | + * @param string $string the string to be split |
|
288 | 288 | * @return string[] |
289 | 289 | * @since 2.0.11 |
290 | 290 | */ |
@@ -8,7 +8,6 @@ |
||
8 | 8 | namespace yii\validators; |
9 | 9 | |
10 | 10 | use Yii; |
11 | -use yii\helpers\ArrayHelper; |
|
12 | 11 | use yii\helpers\Html; |
13 | 12 | use yii\helpers\Json; |
14 | 13 | use yii\helpers\StringHelper; |