@@ -307,7 +307,7 @@ |
||
| 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. |
@@ -86,7 +86,7 @@ |
||
| 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/' ) ) { |
@@ -45,7 +45,7 @@ |
||
| 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. |