mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 22:39:52 +08:00
Update FilterValidator.php
This commit is contained in:
@@ -18,7 +18,10 @@ use yii\base\InvalidConfigException;
|
||||
* a valid PHP callback with the following signature:
|
||||
*
|
||||
* ```php
|
||||
* function foo($value) { return $newValue; }
|
||||
* function foo($value) {
|
||||
* // compute $newValue here
|
||||
* return $newValue;
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* Many PHP functions qualify this signature (e.g. `trim()`).
|
||||
|
||||
Reference in New Issue
Block a user