From 3ae61ef3fb480fcfa475309002ade8cfddd0f783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 31 Aug 2021 17:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Base/BaseActiveRecord.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Base/BaseActiveRecord.php b/src/Base/BaseActiveRecord.php index 6052e21..f79fe4b 100644 --- a/src/Base/BaseActiveRecord.php +++ b/src/Base/BaseActiveRecord.php @@ -808,7 +808,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess, * @return bool * @throws Exception */ - #[Event(self::AFTER_SAVE)] public function afterSave($attributes, $changeAttributes): bool { return true; @@ -819,7 +818,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess, * @param $model * @return bool */ - #[Event(self::BEFORE_SAVE)] public function beforeSave($model): bool { return true;