Passed
Push — gsa_crawler_info ( d56653 )
by
unknown
33:21 queued 05:31
created
mod/tidypics/lib/upload.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
mod/twitter_api/lib/twitter_api.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -333,6 +333,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
mod/twitter_api/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
mod/unvalidated_user_cleanup/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
mod/upload_users/classes/UploadUsers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
mod/upload_users/start.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
mod/uservalidationbyemail/lib/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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') {
Please login to merge, or discard this patch.
mod/web_services/classes/ElggHMACCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
mod/web_services/lib/tokens.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * @param string $username The username
10 10
  * @param int    $expire   Minutes until token expires (default is 60 minutes)
11 11
  *
12
- * @return bool
12
+ * @return false|string
13 13
  */
14 14
 function create_user_token($username, $expire = 60) {
15 15
 	global $CONFIG;
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
  * @param string $token     The Token.
71 71
  * @param int    $site_guid The ID of the site (default is current site)
72 72
  *
73
- * @return mixed The user id attached to the token if not expired or false.
73
+ * @return integer The user id attached to the token if not expired or false.
74 74
  */
75 75
 function validate_user_token($token, $site_guid) {
76 76
 	global $CONFIG;
Please login to merge, or discard this patch.