改名
This commit is contained in:
@@ -182,10 +182,10 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $attributes
|
* @param array $attributes
|
||||||
* @return static
|
* @return ActiveRecord|bool
|
||||||
* @throws
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function update(array $attributes): static
|
public function update(array $attributes): static|bool
|
||||||
{
|
{
|
||||||
return $this->save($attributes);
|
return $this->save($attributes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user