diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index a7817ae0..ab7caaee 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -182,10 +182,10 @@ class ActiveRecord extends BaseActiveRecord /** * @param array $attributes - * @return static - * @throws + * @return ActiveRecord|bool + * @throws Exception */ - public function update(array $attributes): static + public function update(array $attributes): static|bool { return $this->save($attributes); }