Completed
Push — add/connection-disconnects ( 06feed...f5811a )
by
unknown
273:24 queued 266:15
created
packages/connection/tests/php/test_Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
307 307
 	 * Mock a global function and make it return a certain value.
308 308
 	 *
309 309
 	 * @param string $function_name Name of the function.
310
-	 * @param mixed  $return_value Return value of the function.
310
+	 * @param integer  $return_value Return value of the function.
311 311
 	 *
312 312
 	 * @return Mock The mock object.
313 313
 	 * @throws MockEnabledException PHPUnit wasn't able to enable mock functions.
Please login to merge, or discard this patch.
modules/shortcodes/getty.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
  *
87 87
  * @param string $content Post content.
88 88
  *
89
- * @return mixed
89
+ * @return string
90 90
  */
91 91
 function wpcom_shortcodereverse_getty( $content ) {
92 92
 	if ( ! is_string( $content ) || false === stripos( $content, '.gettyimages.com/' ) ) {
Please login to merge, or discard this patch.
packages/connection/src/class-utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	 * @param int    $user_id The user id.
46 46
 	 * @param string $token The user token.
47 47
 	 * @param bool   $is_master_user Whether the user is the master user.
48
-	 * @return bool
48
+	 * @return boolean|null
49 49
 	 */
50 50
 	public static function update_user_token( $user_id, $token, $is_master_user ) {
51 51
 		// Not designed for concurrent updates.
Please login to merge, or discard this patch.