Browse Source

Merge pull request #12467 from Mak-Di/patch-4

Wrap "null"
tags/2.0.10
Dmitry Naumenko 8 years ago committed by GitHub
parent
commit
8dc53f0183
  1. 2
      docs/guide/input-validation.md

2
docs/guide/input-validation.md

@ -231,7 +231,7 @@ return [
];
```
By default, an input is considered empty if its value is an empty string, an empty array or a null.
By default, an input is considered empty if its value is an empty string, an empty array or a `null`.
You may customize the default empty detection logic by configuring the [[yii\validators\Validator::isEmpty]] property
with a PHP callable. For example,

Loading…
Cancel
Save