wp-includes/php-ai-client/third-party/Http/Discovery/Exception/NoCandidateFoundException.php:16$strategystring$candidatesarray public function __construct($strategy, array $candidates) { $classes = array_map(function ($a) { return $a['class']; }, $candidates); $message = sprintf('No valid candidate found using strategy "%s". We tested the following candidates: %s.', $strategy, implode(', ', array_map([$this, 'stringify'], $classes))); parent::__construct($message); }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/Exception/NoCandidateFoundException.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.