wp-includes/SimplePie/src/Enclosure.php:695Get all restrictions
array|null public function get_restrictions() { if ($this->restrictions !== null) { return $this->restrictions; } 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\Restriction[]|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.