wp-includes/SimplePie/src/HTTP/Psr7Response.php:59 public function get_headers(): array { // The filtering is probably redundant but let’s make PHPStan happy. return array_filter($this->response->getHeaders(), function (array $header): bool { return count($header) >= 1; }); }Unchanged from 6.9.7 through 7.1.0.
Signature, return type and hooks compared across 3 parsed releases.
src/wp-includes/SimplePie/src/HTTP/Psr7Response.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.