wp-includes/Requests/src/Cookie/Jar.php:41Create a new jar
$cookiesarrayoptional[] public function __construct($cookies = []) { if (is_array($cookies) === false) { throw InvalidArgument::create(1, '$cookies', 'array', gettype($cookies)); } $this->cookies = $cookies; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/Requests/src/Cookie/Jar.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.