inc/rest/Response.php
@@ -26,9 +26,8 @@ private array $data = []; private int $status = 200; private array $headers = []; private ?WP_REST_Response $response = null; /** /** * Create a success response */ public static function success(array $data = [], int $status = 200): WP_REST_Response @@ -430,8 +429,3 @@ return self::success($data); } } /** * Alias for backward compatibility */ class ResponseBuilder extends Response {}