wp-includes/php-ai-client/third-party/Nyholm/Psr7/Factory/Psr17Factory.php:65$streamWordPress\AiClientDependencies\Psr\Http\Message\StreamInterface$size?intoptionalnull$errorintoptionalUPLOAD_ERR_OK$clientFilename?stringoptionalnull$clientMediaType?stringoptionalnull public function createUploadedFile(StreamInterface $stream, ?int $size = null, int $error = \UPLOAD_ERR_OK, ?string $clientFilename = null, ?string $clientMediaType = null): UploadedFileInterface { if (null === $size) { $size = $stream->getSize(); } return new UploadedFile($stream, $size, $error, $clientFilename, $clientMediaType); }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/Nyholm/Psr7/Factory/Psr17Factory.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.