1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

Update description for User and Key accesedAt

Add a note about how often the attributes are updated.
This commit is contained in:
Steven Nguyen 2023-07-20 11:47:26 -07:00
parent 4e6e3a0551
commit 66362f0d3b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ class Key extends Model
]) ])
->addRule('accessedAt', [ ->addRule('accessedAt', [
'type' => self::TYPE_DATETIME, 'type' => self::TYPE_DATETIME,
'description' => 'Most recent access date in ISO 8601 format.', 'description' => 'Most recent access date in ISO 8601 format. This attribute is only updated again after ' . APP_KEY_ACCCESS / 60 / 60 . ' hours.',
'default' => '', 'default' => '',
'example' => self::TYPE_DATETIME_EXAMPLE 'example' => self::TYPE_DATETIME_EXAMPLE
]) ])

View file

@ -122,7 +122,7 @@ class User extends Model
]) ])
->addRule('accessedAt', [ ->addRule('accessedAt', [
'type' => self::TYPE_DATETIME, 'type' => self::TYPE_DATETIME,
'description' => 'Most recent access date in ISO 8601 format.', 'description' => 'Most recent access date in ISO 8601 format. This attribute is only updated again after ' . APP_USER_ACCCESS / 60 / 60 . ' hours.',
'default' => '', 'default' => '',
'example' => self::TYPE_DATETIME_EXAMPLE, 'example' => self::TYPE_DATETIME_EXAMPLE,
]) ])