Update FilterValidator.php

This commit is contained in:
Carsten Brandt
2015-12-02 23:05:12 +01:00
parent 88241f24f3
commit b44649fd97

View File

@@ -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()`).