@@ -60,6 +60,7 @@ |
||
60 | 60 | * |
61 | 61 | * Each album gets a subdirectory based on its container id |
62 | 62 | * |
63 | + * @param integer $album_guid |
|
63 | 64 | * @return string path to image directory |
64 | 65 | */ |
65 | 66 | function tp_get_img_dir($album_guid) { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * Check if there is enough memory to process this image |
54 | 54 | * |
55 | 55 | * @param string $image_lib |
56 | - * @param int $requiredMemory |
|
56 | + * @param integer $mem_required |
|
57 | 57 | * @return bool false = not enough memory |
58 | 58 | */ |
59 | 59 | function tp_upload_memory_check($image_lib, $mem_required) { |
@@ -333,6 +333,7 @@ |
||
333 | 333 | * Gets the url to authorize a user. |
334 | 334 | * |
335 | 335 | * @param string $callback The callback URL |
336 | + * @return string |
|
336 | 337 | */ |
337 | 338 | function twitter_api_get_authorize_url($callback = NULL, $login = true) { |
338 | 339 | $session = elgg_get_session(); |
@@ -164,7 +164,7 @@ |
||
164 | 164 | * @param string $type |
165 | 165 | * @param array $return_value |
166 | 166 | * @param array $params |
167 | - * @return array |
|
167 | + * @return string[] |
|
168 | 168 | */ |
169 | 169 | function twitter_api_public_pages($hook, $type, $return_value, $params) { |
170 | 170 | $return_value[] = 'twitter_api/forward'; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * This function deletes unvalidated user accounts that are older than specified. |
59 | 59 | * |
60 | 60 | * @param $maxage is the oldest an unvalidated user account can be before being deleted (in sec) |
61 | - * @param $log is the output to the log file |
|
61 | + * @param resource $log is the output to the log file |
|
62 | 62 | */ |
63 | 63 | function delete_unvalidated_users($maxage, $log) { |
64 | 64 | $ia = elgg_set_ignore_access(TRUE); |
@@ -93,7 +93,7 @@ |
||
93 | 93 | * Map user records |
94 | 94 | * |
95 | 95 | * @param $data |
96 | - * @return boolean |
|
96 | + * @return boolean|null |
|
97 | 97 | */ |
98 | 98 | function mapRecords($data = null) { |
99 | 99 |
@@ -202,7 +202,7 @@ |
||
202 | 202 | |
203 | 203 | /** |
204 | 204 | * Run an upgrade script to port plugin settings to 1.8.2 format |
205 | - * @return boolean |
|
205 | + * @return boolean|null |
|
206 | 206 | */ |
207 | 207 | function upload_users_upgrade_v1_8_2() { |
208 | 208 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * Send email out to the address and request a confirmation. |
25 | 25 | * |
26 | 26 | * @param int $user_guid The user's GUID |
27 | - * @param bool $admin_requested Was it requested by admin |
|
27 | + * @param string|boolean $admin_requested Was it requested by admin |
|
28 | 28 | * @return mixed |
29 | 29 | */ |
30 | 30 | function uservalidationbyemail_request_validation($user_guid, $admin_requested = 'deprecated') { |
@@ -76,7 +76,7 @@ |
||
76 | 76 | * |
77 | 77 | * Not currently implemented in this cache type. |
78 | 78 | * |
79 | - * @return true |
|
79 | + * @return boolean |
|
80 | 80 | */ |
81 | 81 | public function clear() { |
82 | 82 | return true; |