| @@ -102,9 +102,9 @@ | ||
| 102 | 102 | * @param string $route |
| 103 | 103 | * @param string $endpoint_class |
| 104 | 104 | * |
| 105 | 105 | * @return \Elementor\Data\Base\SubEndpoint |
| 106 | - * @throws \Exception If invalid sub endpoint registered. | |
| 106 | + * @throws \Exception If invalid endpoint. | |
| 107 | 107 | */ |
| 108 | 108 | protected function register_sub_endpoint( $route, $endpoint_class ) { |
| 109 | 109 | $endpoint_instance = new $endpoint_class( $route, $this ); |
| 110 | 110 | |
| @@ -134,11 +134,11 @@ | ||
| 134 | 134 | * Base callback. |
| 135 | 135 | * |
| 136 | 136 | * All reset requests from the client should pass this function. |
| 137 | 137 | * |
| 138 | - * @param string $methods | |
| 138 | + * @param string $methods | |
| 139 | 139 | * @param \WP_REST_Request $request |
| 140 | - * @param bool $is_multi | |
| 140 | + * @param bool $is_multi | |
| 141 | 141 | * |
| 142 | 142 | * @return mixed|\WP_Error|\WP_HTTP_Response|\WP_REST_Response |
| 143 | 143 | * @throws \Exception If invalid method. |
| 144 | 144 | */ |
| @@ -188,9 +188,9 @@ | ||
| 188 | 188 | |
| 189 | 189 | /** |
| 190 | 190 | * Retrieves one item from the collection. |
| 191 | 191 | * |
| 192 | - * @param string $id | |
| 192 | + * @param string $id | |
| 193 | 193 | * @param \WP_REST_Request $request Full data about the request. |
| 194 | 194 | * |
| 195 | 195 | * @return \WP_Error|\WP_REST_Response Response object on success, or WP_Error object on failure. |
| 196 | 196 | */ |
| @@ -213,9 +213,9 @@ | ||
| 213 | 213 | |
| 214 | 214 | /** |
| 215 | 215 | * Creates one item. |
| 216 | 216 | * |
| 217 | - * @param string $id id of request item. | |
| 217 | + * @param string $id id of request item. | |
| 218 | 218 | * @param \WP_REST_Request $request Full data about the request. |
| 219 | 219 | * |
| 220 | 220 | * @return \WP_Error|\WP_REST_Response Response object on success, or WP_Error object on failure. |
| 221 | 221 | */ |
| @@ -236,9 +236,9 @@ | ||
| 236 | 236 | |
| 237 | 237 | /** |
| 238 | 238 | * Updates one item. |
| 239 | 239 | * |
| 240 | - * @param string $id id of request item. | |
| 240 | + * @param string $id id of request item. | |
| 241 | 241 | * @param \WP_REST_Request $request Full data about the request. |
| 242 | 242 | * |
| 243 | 243 | * @return \WP_Error|\WP_REST_Response Response object on success, or WP_Error object on failure. |
| 244 | 244 | */ |
| @@ -259,9 +259,9 @@ | ||
| 259 | 259 | |
| 260 | 260 | /** |
| 261 | 261 | * Delete one item. |
| 262 | 262 | * |
| 263 | - * @param string $id id of request item. | |
| 263 | + * @param string $id id of request item. | |
| 264 | 264 | * @param \WP_REST_Request $request Full data about the request. |
| 265 | 265 | * |
| 266 | 266 | * @return \WP_Error|\WP_REST_Response Response object on success, or WP_Error object on failure. |
| 267 | 267 | */ |
| @@ -323,10 +323,10 @@ | ||
| 323 | 323 | * Register route. |
| 324 | 324 | * |
| 325 | 325 | * @param string $route |
| 326 | 326 | * @param string $methods |
| 327 | - * @param null $callback | |
| 328 | - * @param array $args | |
| 327 | + * @param null $callback | |
| 328 | + * @param array $args | |
| 329 | 329 | * |
| 330 | 330 | * @return bool |
| 331 | 331 | * @throws \Exception If invalid method. |
| 332 | 332 | */ |