← All changes
|
app/modules/import-export-customization/data/response.php
+1
-1
4.2.4
→
3.31.4
View file →
| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | $response = new self( $data, $meta ); |
| 16 | 16 | return $response->to_wp_rest_response( 200 ); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public static function error( string $code, $message, array $meta = [] ): \WP_REST_Response { | |
| 19 | + public static function error( string $code, string $message, array $meta = [] ): \WP_REST_Response { | |
| 20 | 20 | $response = new self([ |
| 21 | 21 | 'code' => $code, |
| 22 | 22 | 'message' => $message, |
| 23 | 23 | ], $meta); |