mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +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
@ -20,7 +20,7 @@ HTTP 缓存
|
||||
/**
|
||||
* @param Action $action 当前处理的操作对象
|
||||
* @param array $params “params” 属性的值
|
||||
* @return integer 页面修改时的 Unix 时间戳
|
||||
* @return int 页面修改时的 Unix 时间戳
|
||||
*/
|
||||
function ($action, $params)
|
||||
```
|
||||
|
||||
@ -126,7 +126,7 @@ public function rules()
|
||||
/**
|
||||
* @param Model $model 要验证的模型对象
|
||||
* @param string $attribute 待测特性名
|
||||
* @return boolean 返回是否启用该规则
|
||||
* @return bool 返回是否启用该规则
|
||||
*/
|
||||
function ($model, $attribute)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user