wp-includes/SimplePie/src/Content/Type/Sniffer.php:39Create an instance of the class with the input file
$fileSimplePie\File|SimplePie\HTTP\Response public function __construct(/* File */ $file) { if (!is_object($file) || !$file instanceof Response) { // For BC we're asking for `File`, but internally we accept every `Response` implementation throw new InvalidArgumentException(sprintf( '%s(): Argument #1 ($file) must be of type %s', __METHOD__, File::class ), 1); } $this->file = $file; }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$file retyped from SimplePie\Content\Type\Sniffer to SimplePie\File|SimplePie\HTTP\Response.verified against sourcesrc/wp-includes/SimplePie/src/Content/Type/Sniffer.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.