Skip to content

Commit a6fd997

Browse files
committed
docs: add @return
1 parent 697f570 commit a6fd997

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Models/UserModel.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ public function insert($data = null, bool $returnID = true)
261261
* @param array|int|string|null $id
262262
* @param array|User $data
263263
*
264+
* @return true if the update is successful
265+
*
264266
* @throws ValidationException
265267
*/
266268
public function update($id = null, $data = null): bool
@@ -301,6 +303,8 @@ public function update($id = null, $data = null): bool
301303
*
302304
* @param array|User $data
303305
*
306+
* @return true if the save is successful
307+
*
304308
* @throws ValidationException
305309
*/
306310
public function save($data): bool

0 commit comments

Comments
 (0)