wp-includes/php-ai-client/src/Operations/DTO/GenerativeAiOperation.php:123WordPress\AiClient\Operations\DTO\GenerativeAiOperationArrayShape public function toArray(): array { $data = [self::KEY_ID => $this->id, self::KEY_STATE => $this->state->value]; if ($this->result !== null) { $data[self::KEY_RESULT] = $this->result->toArray(); } return $data; }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/Operations/DTO/GenerativeAiOperation.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.