Added phpdoc

This commit is contained in:
Lucas Bartholemy 2020-10-02 14:49:46 +02:00 committed by GitHub
parent 14ff4efd2c
commit b245a3cba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,9 @@ class ActiveRecord extends \yii\db\ActiveRecord implements \Serializable
return parent::beforeSave($insert);
}
/**
* @inheritdoc
*/
public function afterSave($insert, $changedAttributes)
{
if ($this->hasAttribute('created_at') && $this->created_at instanceof Expression) {