Skip to content

Commit 777fa5d

Browse files
gen_stub: fix typo $minPHPCompatability to $minPHPCompatibility
1 parent 8ee5a52 commit 777fa5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build/gen_stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,11 +2226,11 @@ public function findEquivalent(array $generatedFuncInfos): ?FuncInfo {
22262226
return null;
22272227
}
22282228

2229-
public function toArgInfoCode(?int $minPHPCompatability): string {
2229+
public function toArgInfoCode(?int $minPHPCompatibility): string {
22302230
$code = $this->return->beginArgInfo(
22312231
$this->getArgInfoName(),
22322232
$this->numRequiredArgs,
2233-
$minPHPCompatability === null || $minPHPCompatability >= PHP_81_VERSION_ID
2233+
$minPHPCompatibility === null || $minPHPCompatibility >= PHP_81_VERSION_ID
22342234
);
22352235

22362236
foreach ($this->args as $argInfo) {

0 commit comments

Comments
 (0)