@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | * If no account_id is set in data the account is added and the new id is set in $data. |
190 | 190 | * |
191 | 191 | * @param array $data array with account-data |
192 | - * @return int|boolean the account_id or false on error |
|
192 | + * @return false|string the account_id or false on error |
|
193 | 193 | */ |
194 | 194 | function save(&$data) |
195 | 195 | { |
@@ -988,7 +988,7 @@ discard block |
||
988 | 988 | * |
989 | 989 | * @param int $account_id numerica account_id |
990 | 990 | * @param string $which ='account_lid' type to convert to: account_lid (default), account_email, ... |
991 | - * @return string|false converted value or false on error ($account_id not found) |
|
991 | + * @return string|boolean converted value or false on error ($account_id not found) |
|
992 | 992 | */ |
993 | 993 | function id2name($account_id,$which='account_lid') |
994 | 994 | { |
@@ -1000,7 +1000,7 @@ discard block |
||
1000 | 1000 | * |
1001 | 1001 | * @param int $_account_id |
1002 | 1002 | * @param string $ip |
1003 | - * @return int lastlogin time |
|
1003 | + * @return boolean lastlogin time |
|
1004 | 1004 | */ |
1005 | 1005 | function update_lastlogin($_account_id, $ip) |
1006 | 1006 | { |
@@ -124,7 +124,6 @@ |
||
124 | 124 | * Check if a given smime type is smime type of signature only |
125 | 125 | * |
126 | 126 | * @param string $_smimeType smime type |
127 | - * @param string $_mimeType mime type, it takes into account only if smimeType is not found |
|
128 | 127 | * |
129 | 128 | * @return boolean return whether given type is smime signature or not |
130 | 129 | */ |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * If no account_id is set in data the account is added and the new id is set in $data. |
49 | 49 | * |
50 | 50 | * @param array $data array with account-data |
51 | - * @return int|boolean the account_id or false on error |
|
51 | + * @return false|string the account_id or false on error |
|
52 | 52 | */ |
53 | 53 | function save(&$data) |
54 | 54 | { |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | * @param string $new_passwd must be cleartext |
267 | 267 | * @param int $account_id account id of user whose passwd should be changed |
268 | 268 | * @param boolean $update_lastchange =true |
269 | - * @return boolean true if password successful changed, false otherwise |
|
269 | + * @return false|string true if password successful changed, false otherwise |
|
270 | 270 | */ |
271 | 271 | function change_password($old_passwd, $new_passwd, $account_id=0, $update_lastchange=true) |
272 | 272 | { |
@@ -61,7 +61,6 @@ discard block |
||
61 | 61 | * @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont' |
62 | 62 | * @param array $content |
63 | 63 | * @param array &$validated=array() validated content |
64 | - * @param array $expand=array values for keys 'c', 'row', 'c_', 'row_', 'cont' |
|
65 | 64 | */ |
66 | 65 | public function validate($cname, array $expand, array $content, &$validated=array()) |
67 | 66 | { |
@@ -132,7 +131,7 @@ discard block |
||
132 | 131 | /** |
133 | 132 | * Handle ajax searches for existing contact based on email |
134 | 133 | * |
135 | - * @return boolean $_email exists or not |
|
134 | + * @return boolean|null $_email exists or not |
|
136 | 135 | */ |
137 | 136 | public static function ajax_contact($_email) |
138 | 137 | { |