@@ -216,7 +216,6 @@ discard block |
||
| 216 | 216 | /** |
| 217 | 217 | * Inject image sizes to Jetpack REST API responses. This wraps the filter_photon_norezise_maybe_inject_sizes function. |
| 218 | 218 | * |
| 219 | - * @param array $data Attachment sizes data. |
|
| 220 | 219 | * @param int $attachment_id Attachment's post ID. |
| 221 | 220 | * |
| 222 | 221 | * @return array Attachment sizes array. |
@@ -1332,7 +1331,7 @@ discard block |
||
| 1332 | 1331 | * after ourselves without breaking anyone else's filters. |
| 1333 | 1332 | * |
| 1334 | 1333 | * @internal |
| 1335 | - * @return true |
|
| 1334 | + * @return boolean |
|
| 1336 | 1335 | */ |
| 1337 | 1336 | public function override_image_downsize_in_rest_edit_context() { |
| 1338 | 1337 | return true; |
@@ -308,7 +308,7 @@ |
||
| 308 | 308 | * @since 8.7.0 |
| 309 | 309 | * |
| 310 | 310 | * @param array|string $data the data to be encoded. |
| 311 | - * @return boolean|string The encoded string on success, false on failure |
|
| 311 | + * @return false|string The encoded string on success, false on failure |
|
| 312 | 312 | */ |
| 313 | 313 | public function encrypt_data_to_wpcom( $data ) { |
| 314 | 314 | |
@@ -50,6 +50,7 @@ |
||
| 50 | 50 | * Perform the IXR request. |
| 51 | 51 | * |
| 52 | 52 | * @param string[] ...$args IXR args. |
| 53 | + * @param string $args |
|
| 53 | 54 | * |
| 54 | 55 | * @return bool True if request succeeded, false otherwise. |
| 55 | 56 | */ |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | * The rest of the arguments are the params specified to the method. |
| 26 | 26 | * |
| 27 | 27 | * @param string[] ...$args IXR args. |
| 28 | + * @param string $args |
|
| 28 | 29 | */ |
| 29 | 30 | public function addCall( ...$args ) { |
| 30 | 31 | $method_name = array_shift( $args ); |