Skip to content

Commit 13b58dd

Browse files
committed
Add handy comments
1 parent 100bdf9 commit 13b58dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dal/UserDal.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public static function update(string $userUuid, UserEntity $userEntity): int|str
5858
$userBean->phone = $phone;
5959
}
6060

61-
// save the user
61+
// attempt to save the user
6262
try {
63-
return R::store($userBean);
63+
return R::store($userBean); // returns the user ID
6464
} catch (SQL $e) {
6565
return false;
6666
} finally {

0 commit comments

Comments
 (0)