Commit 777fa5d1580 for php.net
commit 777fa5d15800a381bd35b6a97023e55e254d609e
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Thu Sep 4 12:17:02 2025 +0300
gen_stub: fix typo `$minPHPCompatability` to `$minPHPCompatibility`
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 @@ public function findEquivalent(array $generatedFuncInfos): ?FuncInfo {
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) {