diff --git a/app/Models/Aauth/UserModel.php b/app/Models/Aauth/UserModel.php index 84aae06..3acf6e6 100644 --- a/app/Models/Aauth/UserModel.php +++ b/app/Models/Aauth/UserModel.php @@ -137,7 +137,7 @@ class UserModel extends Model * * @return boolean */ - public function update($id = null, $data = null) + public function update($id = null, $data = null): bool { $this->validationRules['email'] = 'if_exist|valid_email|is_unique[' . $this->table . '.email,id,{id}]'; $this->validationRules['password'] = 'if_exist|min_length[' . $this->config->passwordMin . ']|max_length[' . $this->config->passwordMax . ']';