This commit is contained in:
2021-08-31 17:18:55 +08:00
parent fd256301a4
commit 3ae61ef3fb
-2
View File
@@ -808,7 +808,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess,
* @return bool * @return bool
* @throws Exception * @throws Exception
*/ */
#[Event(self::AFTER_SAVE)]
public function afterSave($attributes, $changeAttributes): bool public function afterSave($attributes, $changeAttributes): bool
{ {
return true; return true;
@@ -819,7 +818,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess,
* @param $model * @param $model
* @return bool * @return bool
*/ */
#[Event(self::BEFORE_SAVE)]
public function beforeSave($model): bool public function beforeSave($model): bool
{ {
return true; return true;