@@ -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; |