wp-includes/php-ai-client/src/Files/DTO/File.php:59Constructor.
$filestring$mimeTypestring|nulloptionalnull public function __construct(string $file, ?string $mimeType = null) { // Detect and process the file type (will set MIME type if possible) $this->detectAndProcessFile($file, $mimeType); }Introduced in 0.1.0. 16 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$file added.verified against source$mimeType added.verified against source$url removed.verified against source$timeout removed.verified against source$redirects removed.verified against source$headers removed.verified against source$useragent removed.verified against source$force_fsockopen removed.verified against source$curl_options removed.verified against source$url retyped from untyped to string.verified against source$timeout retyped from untyped to int.verified against source$redirects retyped from untyped to int.verified against source$headers retyped from untyped to ?array.verified against source$useragent retyped from untyped to SimplePie\?string.verified against source$force_fsockopen retyped from untyped to bool.verified against source$curl_options retyped from untyped to array.verified against sourcesrc/wp-includes/php-ai-client/src/Files/DTO/File.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.