added missing version information

fixes #13259
This commit is contained in:
Carsten Brandt
2016-12-20 22:40:44 +01:00
parent c4857176ac
commit e13a18ba8b
2 changed files with 3 additions and 2 deletions

View File

@ -331,7 +331,8 @@ the method/function is:
/** /**
* @param string $attribute the attribute currently being validated * @param string $attribute the attribute currently being validated
* @param mixed $params the value of the "params" given in the rule * @param mixed $params the value of the "params" given in the rule
* @param \yii\validators\InlineValidator related InlineValidator instance * @param \yii\validators\InlineValidator related InlineValidator instance.
* This parameter is available since version 2.0.11.
*/ */
function ($attribute, $params, $validator) function ($attribute, $params, $validator)
``` ```

View File

@ -35,7 +35,7 @@ class InlineValidator extends Validator
* *
* - `$attribute` is the name of the attribute to be validated; * - `$attribute` is the name of the attribute to be validated;
* - `$params` contains the value of [[params]] that you specify when declaring the inline validation rule; * - `$params` contains the value of [[params]] that you specify when declaring the inline validation rule;
* - `$validator` is a reference to related [[InlineValidator]] object. * - `$validator` is a reference to related [[InlineValidator]] object. This parameter is available since version 2.0.11.
*/ */
public $method; public $method;
/** /**