mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Merge pull request #6891 from kartik-v/patch-1
More correct usage of TimeStamp touch method
This commit is contained in:
@ -53,7 +53,7 @@ use yii\db\Expression;
|
||||
* timestamp to the specified attribute(s) and save them to the database. For example,
|
||||
*
|
||||
* ```php
|
||||
* $this->timestamp->touch('creation_time');
|
||||
* $model->touch('creation_time');
|
||||
* ```
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
|
||||
Reference in New Issue
Block a user