wp-includes/php-ai-client/src/Providers/Http/DTO/RequestOptions.php:198Validates timeout values.
$valuefloat|null$fieldNamestring private function validateTimeout(?float $value, string $fieldName): void { if ($value !== null && $value < 0) { throw new InvalidArgumentException(sprintf('Request option "%s" must be greater than or equal to 0.', $fieldName)); } }Introduced in 0.2.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/RequestOptions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.