Passed
Push — member_paginate ( 7dbdde...996b36 )
by
unknown
24:59 queued 01:43
created
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.
mod/web_services/lib/web_services.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  *
11 11
  * @param string $method The api name that was exposed
12 12
  *
13
- * @return true or throws an exception
13
+ * @return boolean or throws an exception
14 14
  * @throws APIException
15 15
  * @since 1.7.0
16 16
  * @access private
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
  * Get POST data
170 170
  * Since this is called through a handler, we need to manually get the post data
171 171
  *
172
- * @return POST data as string encoded as multipart/form-data
172
+ * @return string data as string encoded as multipart/form-data
173 173
  * @access private
174 174
  */
175 175
 function get_post_data() {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
  * @param string $method     Method name
186 186
  * @param array  $parameters List of expected parameters
187 187
  *
188
- * @return true on success or exception
188
+ * @return boolean on success or exception
189 189
  * @throws APIException
190 190
  * @since 1.7.0
191 191
  * @access private
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
 /**
339 339
  * PAM: Confirm the HMAC signature
340 340
  *
341
- * @return true if success - otherwise throws exception
341
+ * @return boolean if success - otherwise throws exception
342 342
  *
343 343
  * @throws SecurityException
344 344
  * @since 1.7.0
@@ -708,7 +708,7 @@  discard block
 block discarded – undo
708 708
  * If no handler is found, this returns a 404 error
709 709
  *
710 710
  * @param string $handler Handler name
711
- * @param array  $request Request string
711
+ * @param string  $request Request string
712 712
  *
713 713
  * @return void
714 714
  * @access private
Please login to merge, or discard this patch.
mod/wet4/lib/user_settings.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 /**
11 11
  * Set a user's password
12 12
  * 
13
- * @return bool
13
+ * @return boolean|null
14 14
  * @since 1.8.0
15 15
  * @access private
16 16
  */
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 /**
78 78
  * Set a user's display name
79 79
  * 
80
- * @return bool
80
+ * @return null|boolean
81 81
  * @since 1.8.0
82 82
  * @access private
83 83
  */
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 /**
119 119
  * Set a user's language
120 120
  * 
121
- * @return bool
121
+ * @return null|boolean
122 122
  * @since 1.8.0
123 123
  * @access private
124 124
  */
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 /**
195 195
  * Set a user's email address
196 196
  *
197
- * @return bool
197
+ * @return null|boolean
198 198
  * @since 1.8.0
199 199
  * @access private
200 200
  */
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 /**
258 258
  * Set a user's default access level
259 259
  *
260
- * @return bool
260
+ * @return null|boolean
261 261
  * @since 1.8.0
262 262
  * @access private
263 263
  */
Please login to merge, or discard this patch.