Browse Source

Merge pull request #12396 from LAV45/master

Fix Typos  yii\validators\Validator::$whenClient [skip ci]
tags/2.0.10
Dmitry Naumenko 8 years ago committed by GitHub
parent
commit
796cf78e9a
  1. 2
      framework/validators/Validator.php

2
framework/validators/Validator.php

@ -166,7 +166,7 @@ class Validator extends Component
*
* The following example will enable the validator only when the country currently selected is USA:
*
* ```php
* ```javascript
* function (attribute, value) {
* return $('#country').val() === 'USA';
* }

Loading…
Cancel
Save