wp-includes/Requests/src/Auth/Basic.php:49Constructor
$argsarray|nulloptionalnull public function __construct($args = null) { if (is_array($args)) { if (count($args) !== 2) { throw ArgumentCount::create('an array with exactly two elements', count($args), 'authbasicbadargs'); } list($this->user, $this->pass) = $args; return; } if ($args !== null) { throw InvalidArgument::create(1, '$args', 'array|null', gettype($args)); } }Introduced in 2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/Requests/src/Auth/Basic.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.