Commit e9bbae9a by Carsten Brandt

Merge pull request #6891 from kartik-v/patch-1

More correct usage of TimeStamp touch method
parents 27f18813 98571fb3
...@@ -53,7 +53,7 @@ use yii\db\Expression; ...@@ -53,7 +53,7 @@ use yii\db\Expression;
* timestamp to the specified attribute(s) and save them to the database. For example, * timestamp to the specified attribute(s) and save them to the database. For example,
* *
* ```php * ```php
* $this->timestamp->touch('creation_time'); * $model->touch('creation_time');
* ``` * ```
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment