wp-includes/php-ai-client/src/Providers/Http/HttpTransporter.php:52Constructor.
$clientWordPress\AiClientDependencies\Psr\Http\Client\ClientInterface|nulloptionalnull$requestFactoryWordPress\AiClientDependencies\Psr\Http\Message\RequestFactoryInterface|nulloptionalnull$streamFactoryWordPress\AiClientDependencies\Psr\Http\Message\StreamFactoryInterface|nulloptionalnull public function __construct(?ClientInterface $client = null, ?RequestFactoryInterface $requestFactory = null, ?StreamFactoryInterface $streamFactory = null) { $this->client = $client ?: Psr18ClientDiscovery::find(); $this->requestFactory = $requestFactory ?: Psr17FactoryDiscovery::findRequestFactory(); $this->streamFactory = $streamFactory ?: Psr17FactoryDiscovery::findStreamFactory(); }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/HttpTransporter.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.