From b0e80266bc6e77517f6b9796de8d1b135ba81bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=93=D1=80=D0=B8?= =?UTF-8?q?=D0=BD=D0=B5=D0=B2?= Date: Tue, 9 Apr 2024 21:58:48 +0300 Subject: [PATCH] add comment --- framework/db/BaseActiveRecord.php | 1 + 1 file changed, 1 insertion(+) 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) {