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