From 777fa5d15800a381bd35b6a97023e55e254d609e Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Thu, 4 Sep 2025 12:17:02 +0300 Subject: [PATCH] gen_stub: fix typo `$minPHPCompatability` to `$minPHPCompatibility` --- build/gen_stub.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {