wp-includes/sodium_compat/src/Core/Curve25519/Ge/P2.php:36ParagonIE_Sodium_Core_Curve25519_Ge_P2 constructor.
$xParagonIE_Sodium_Core_Curve25519_Fe|nulloptionalnull$yParagonIE_Sodium_Core_Curve25519_Fe|nulloptionalnull$zParagonIE_Sodium_Core_Curve25519_Fe|nulloptionalnull public function __construct( $x = null, $y = null, $z = null ) { if ($x === null) { $x = new ParagonIE_Sodium_Core_Curve25519_Fe(); } if (!($x instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { throw new TypeError('Argument 1 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); } $this->X = $x; if ($y === null) { $y = new ParagonIE_Sodium_Core_Curve25519_Fe(); } if (!($y instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { throw new TypeError('Argument 2 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); } $this->Y = $y; if ($z === null) { $z = new ParagonIE_Sodium_Core_Curve25519_Fe(); } if (!($z instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { throw new TypeError('Argument 3 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); } $this->Z = $z; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/sodium_compat/src/Core/Curve25519/Ge/P2.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.