改名
This commit is contained in:
@@ -644,7 +644,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
||||
* @return bool
|
||||
* @throws Exception
|
||||
*/
|
||||
#[Event(static::AFTER_SAVE)]
|
||||
#[Event(ActiveRecord::AFTER_SAVE)]
|
||||
public function afterSave($attributes, $changeAttributes): bool
|
||||
{
|
||||
return true;
|
||||
@@ -655,7 +655,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
||||
* @param $model
|
||||
* @return bool
|
||||
*/
|
||||
#[Event(static::BEFORE_SAVE)]
|
||||
#[Event(ActiveRecord::BEFORE_SAVE)]
|
||||
public function beforeSave($model): bool
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user