Skip to content

Commit

Permalink
Add a throws comment to BaseActiveRecord save
Browse files Browse the repository at this point in the history
  • Loading branch information
korsNaike authored Apr 13, 2024
1 parent bf3ada1 commit a733e8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/db/BaseActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ public function getDirtyAttributes($names = null)
* @param array|null $attributeNames list of attribute names that need to be saved. Defaults to null,
* meaning all attributes that are loaded from DB will be saved.
* @return bool whether the saving succeeded (i.e. no validation errors occurred).
* @throws Exception in case update or insert failed.
*/
public function save($runValidation = true, $attributeNames = null)
{
Expand Down

0 comments on commit a733e8a

Please sign in to comment.