Commit 98571fb3 by Kartik Visweswaran

More correct usage of TimeStamp touch method

TimeStampBehavior PHPDoc update for the `touch()` method
parent 27f18813
...@@ -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