Skip to content

Commit c6cc71f

Browse files
committed
Replace renamed returned variable to redBeanIncrementId
1 parent 0d8f586 commit c6cc71f

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
@@ -21,14 +21,14 @@ public static function create(UserEntity $userEntity): int|string|false
2121
$userBean->created_date = $userEntity->getCreationDate();
2222

2323
try {
24-
$id = R::store($userBean);
24+
$redBeanIncrementId = R::store($userBean);
2525
} catch (SQL $e) {
2626
return false;
2727
} finally {
2828
R::close();
2929
}
3030

31-
return $id;
31+
return $redBeanIncrementId;
3232
}
3333

3434
public static function update(string $userUuid, UserEntity $userEntity): int|string|false

0 commit comments

Comments
 (0)