| @@ -176,12 +176,11 @@ | ||
| 176 | 176 | |
| 177 | 177 | /** |
| 178 | 178 | * Get the status of a sync in progress. |
| 179 | 179 | * |
| 180 | - * @param \WP_REST_Request $request Full details about the request. | |
| 181 | 180 | * @return void |
| 182 | 181 | */ |
| 183 | - public function get_sync_status( \WP_REST_Request $request ) { | |
| 182 | + public function get_sync_status() { | |
| 184 | 183 | nocache_headers(); |
| 185 | 184 | |
| 186 | 185 | $index_meta = Utils\get_indexing_status(); |
| 187 | 186 | |
| @@ -210,12 +209,11 @@ | ||
| 210 | 209 | |
| 211 | 210 | /** |
| 212 | 211 | * Cancel a sync in progress. |
| 213 | 212 | * |
| 214 | - * @param \WP_REST_Request $request Full details about the request. | |
| 215 | 213 | * @return void |
| 216 | 214 | */ |
| 217 | - public function cancel_sync( \WP_REST_Request $request ) { | |
| 215 | + public function cancel_sync() { | |
| 218 | 216 | nocache_headers(); |
| 219 | 217 | |
| 220 | 218 | $index_meta = Utils\get_indexing_status(); |
| 221 | 219 | |