wp-includes/php-ai-client/third-party/Http/Discovery/Psr18ClientDiscovery.php:13Finds a PSR-18 HTTP Client.
final class Psr18ClientDiscovery extends ClassDiscovery{ /** * Finds a PSR-18 HTTP Client. * * @return ClientInterface * * @throws RealNotFoundException */ public static function find() { try { $client = static::findOneByType(ClientInterface::class); } catch (DiscoveryFailedException $e) { throw new RealNotFoundException('No PSR-18 clients found. Make sure to install a package providing "psr/http-client-implementation". Example: "php-http/guzzle7-adapter".', 0, $e); } return static::instantiateClass($client); }}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/third-party/Http/Discovery/Psr18ClientDiscovery.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.