@@ -116,7 +116,7 @@ |
||
| 116 | 116 | * |
| 117 | 117 | * These values are used in new widgets. |
| 118 | 118 | * |
| 119 | - * @return array Default values for the widget options. |
|
| 119 | + * @return string Default values for the widget options. |
|
| 120 | 120 | */ |
| 121 | 121 | public function defaults() { |
| 122 | 122 | return array( |
@@ -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. |