diff --git a/framework/db/BaseActiveRecord.php b/framework/db/BaseActiveRecord.php index 32ab1237ea..0eb14530e1 100644 --- a/framework/db/BaseActiveRecord.php +++ b/framework/db/BaseActiveRecord.php @@ -634,7 +634,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface * or [[beforeSave()]] stops the updating process. * @throws StaleObjectException if [[optimisticLock|optimistic locking]] is enabled and the data * being updated is outdated. - * @throws \Exception in case update failed. + * @throws Exception in case update failed. */ public function update($runValidation = true, $attributeNames = null) { @@ -772,7 +772,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface * Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful. * @throws StaleObjectException if [[optimisticLock|optimistic locking]] is enabled and the data * being deleted is outdated. - * @throws \Exception in case delete failed. + * @throws Exception in case delete failed. */ public function delete() {