mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Small documentation fix
This commit is contained in:
parent
d1bc6a40f5
commit
cda8857019
@ -69,10 +69,9 @@ class user extends cora\crud {
|
|||||||
* Updates a user. If the password is changed then it is re-hashed with
|
* Updates a user. If the password is changed then it is re-hashed with
|
||||||
* bcrypt and a new salt is generated.
|
* bcrypt and a new salt is generated.
|
||||||
*
|
*
|
||||||
* @param int $id
|
|
||||||
* @param array $attributes
|
* @param array $attributes
|
||||||
*
|
*
|
||||||
* @return int
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function update($attributes) {
|
public function update($attributes) {
|
||||||
if(isset($attributes['password']) === true) {
|
if(isset($attributes['password']) === true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user