Commit a20f82dc by Alexander Makarov

Fixes #4919

parent 6c273229
...@@ -54,12 +54,12 @@ class BlameableBehavior extends AttributeBehavior ...@@ -54,12 +54,12 @@ class BlameableBehavior extends AttributeBehavior
{ {
/** /**
* @var string the attribute that will receive current user ID value * @var string the attribute that will receive current user ID value
* Set this property to be null if you do not want to record the creator ID. * Set this property to false if you do not want to record the creator ID.
*/ */
public $createdByAttribute = 'created_by'; public $createdByAttribute = 'created_by';
/** /**
* @var string the attribute that will receive current user ID value * @var string the attribute that will receive current user ID value
* Set this property to be null if you do not want to record the updater ID. * Set this property to false if you do not want to record the updater ID.
*/ */
public $updatedByAttribute = 'updated_by'; public $updatedByAttribute = 'updated_by';
/** /**
......
...@@ -64,12 +64,12 @@ class TimestampBehavior extends AttributeBehavior ...@@ -64,12 +64,12 @@ class TimestampBehavior extends AttributeBehavior
{ {
/** /**
* @var string the attribute that will receive timestamp value * @var string the attribute that will receive timestamp value
* Set this property to be null if you do not want to record the creation time. * Set this property to false if you do not want to record the creation time.
*/ */
public $createdAtAttribute = 'created_at'; public $createdAtAttribute = 'created_at';
/** /**
* @var string the attribute that will receive timestamp value. * @var string the attribute that will receive timestamp value.
* Set this property to be null if you do not want to record the update time. * Set this property to false if you do not want to record the update time.
*/ */
public $updatedAtAttribute = 'updated_at'; public $updatedAtAttribute = 'updated_at';
/** /**
......
...@@ -117,7 +117,7 @@ class UrlManager extends Component ...@@ -117,7 +117,7 @@ class UrlManager extends Component
* *
* After the UrlManager object is created, if you want to change this property, * After the UrlManager object is created, if you want to change this property,
* you should only assign it with a cache object. * you should only assign it with a cache object.
* Set this property to null if you do not want to cache the URL rules. * Set this property to false if you do not want to cache the URL rules.
*/ */
public $cache = 'cache'; public $cache = 'cache';
/** /**
......
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