diff --git a/framework/db/BaseActiveRecord.php b/framework/db/BaseActiveRecord.php index 41732caab1d..8931c84f3ed 100644 --- a/framework/db/BaseActiveRecord.php +++ b/framework/db/BaseActiveRecord.php @@ -681,6 +681,7 @@ public function getDirtyAttributes($names = null) * @param array|null $attributeNames list of attribute names that need to be saved. Defaults to null, * meaning all attributes that are loaded from DB will be saved. * @return bool whether the saving succeeded (i.e. no validation errors occurred). + * @throws Exception in case update or insert failed. */ public function save($runValidation = true, $attributeNames = null) {