wp-includes/SimplePie/src/Enclosure.php:341Get all categories
array|null public function get_categories() { if ($this->categories !== null) { return $this->categories; } return null; }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
array|null to SimplePie\Category[]|null.verified against sourcesrc/wp-includes/SimplePie/src/Enclosure.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.