wp-includes/php-ai-client/src/Providers/Http/DTO/Response.php:165Gets the response data as an array.
WordPress\AiClient\Providers\Http\DTO\array<string, public function getData(): ?array { if ($this->body === null || $this->body === '') { return null; } $data = json_decode($this->body, \true); if (json_last_error() !== \JSON_ERROR_NONE) { return null; } /** @var array<string, mixed>|null $data */ return is_array($data) ? $data : null; }Introduced in 0.1.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Providers/Http/DTO/Response.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.