mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 03:28:56 +08:00
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
This commit is contained in:
committed by
Alexander Makarov
parent
940f7c7cd4
commit
4aa935e69e
@@ -176,7 +176,7 @@ The [[yii\validators\Validator::when|when]] property takes a PHP callable with t
|
||||
/**
|
||||
* @param Model $model the model being validated
|
||||
* @param string $attribute the attribute being validated
|
||||
* @return boolean whether the rule should be applied
|
||||
* @return bool whether the rule should be applied
|
||||
*/
|
||||
function ($model, $attribute)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user