wp-includes/Requests/src/Exception/ArgumentCount.php:32Create a new argument count exception with a standardized text.
$expectedstring$receivedint$typestringWpOrg\Requests\Exception\ArgumentCount public static function create($expected, $received, $type) { // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace $stack = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 2); return new self( sprintf( '%s::%s() expects %s, %d given', $stack[1]['class'], $stack[1]['function'], $expected, $received ), $type ); }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/Requests/src/Exception/ArgumentCount.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.