1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

gen_stub: fix typo $minPHPCompatability to $minPHPCompatibility

This commit is contained in:
Daniel Scherzer
2025-09-04 12:17:02 +03:00
parent 8ee5a524fa
commit 777fa5d158

View File

@@ -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) {