diff --git a/build/gen_stub.php b/build/gen_stub.php index 3a79f2e703e..c83d25d6302 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -2226,11 +2226,11 @@ OUPUT_EXAMPLE return null; } - public function toArgInfoCode(?int $minPHPCompatability): string { + public function toArgInfoCode(?int $minPHPCompatibility): string { $code = $this->return->beginArgInfo( $this->getArgInfoName(), $this->numRequiredArgs, - $minPHPCompatability === null || $minPHPCompatability >= PHP_81_VERSION_ID + $minPHPCompatibility === null || $minPHPCompatibility >= PHP_81_VERSION_ID ); foreach ($this->args as $argInfo) {